Gets or sets the level of this column in a hierarchical data source.
[Visual Basic]
Public Property Level As Integer
[C#]
public int Level {get;set;}
[Delphi]
public property Level: Int32 read get_Level write set_Level;
Remarks
This property should only be used when defining columns at design time, using a hierarchical data source.
Example
The following code uses the Level property to set the first level of this column:
Me.C1TrueDBGrid1.Columns(0).Level = 1
· C#
this.c1TrueDBGrid1.Columns[0].Level = 1;
· Delphi
Self.C1TrueDBGrid1.Columns[0].Level := 1;
See Also
C1DataColumn Class | C1DataColumn Members | C1.Win.C1TrueDBGrid Namespace
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |