ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

C1TrueDBDropdown.Columns Property

Gets the collection of C1DataColumn objects.

[Visual Basic]

Public ReadOnly Property Columns As C1DataColumnCollection

[C#]

public C1DataColumnCollection Columns {get;}

[Delphi]

public property Columns: C1DataColumnCollection read get_Columns;

Example

The following code sets the caption for the first column to Region using the Columns property:

·      Visual Basic

       Me.C1TrueDBDropdown1.Columns(0).Caption = "Region"

·      C#

       this.c1TrueDBDropdown1.Columns[0].Caption = "Region";

·      Delphi

       Self.C1TrueDBDropdown1.Columns[0].Caption := 'Region';

See Also

C1TrueDBDropdown Class | C1TrueDBDropdown Members | C1.Win.C1TrueDBGrid Namespace


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.