Gets the caption of the associated C1DataColumn objects.
[Visual Basic]
Public ReadOnly Property Name As String
[C#]
public string Name {get;}
[Delphi]
public property Name: String read get_Name;
Example
In this example, the Name property is used to access the CustomerID column of a bound grid and set its background color to green:
Me.C1TrueDBGrid1.Splits(0).DisplayColumns("CustomerID").Style.BackColor = Color.Green
· C#
this.c1TrueDBGrid1.Splits[0].DisplayColumns["CustomerID"].Style.BackColor = Color.Green;
· Delphi
Self.C1TrueDBGrid1.Splits[0].DisplayColumns['CustomerID'].Style.BackColor := Color.Green;
See Also
C1DisplayColumn Class | C1DisplayColumn Members | C1.Win.C1TrueDBGrid Namespace
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |