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:
Me.C1TrueDBGrid1.Columns(0).Caption = "Region"
· C#
this.c1TrueDBGrid1.Columns[0].Caption = "Region";
· Delphi
Self.C1TrueDBGrid1.Columns[0].Caption := 'Region';
See Also
C1TrueDBGrid Class | C1TrueDBGrid Members | C1.Win.C1TrueDBGrid Namespace
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |