Gets or sets the color of the collapse icon.
[Visual Basic]
Public Property CollapseColor As Color
[C#]
public Color CollapseColor {get;set;}
[Delphi]
public property CollapseColor: Color read get_CollapseColor write set_CollapseColor;
Remarks
This property applies to the C1TrueDBGrid control in hierarchical view only.
Example
The following code uses the CollapseColor property to set the collapse icon to Red:
Me.C1TrueDBGrid1.CollapseColor = Color.Red
· C#
this.c1TrueDBGrid1.CollapseColor = Color.Red;
· Delphi
Self.C1TrueDBGrid1.CollapseColor := Color.Red;
See Also
C1TrueDBGrid Class | C1TrueDBGrid Members | C1.Win.C1TrueDBGrid Namespace
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |