ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

C1TrueDBGrid.ExpandColor Property

Gets or sets the color of the expand icon in hierarchical grids.

[Visual Basic]

Public Property ExpandColor As Color

[C#]

public Color ExpandColor {get;set;}

[Delphi]

public property ExpandColor: Color read get_ExpandColor write set_ExpandColor;

Remarks

This property applies to the C1TrueDBGrid control in hierarchical view only.

Example

The following code uses the ExpandColor property to set the collapse icon to Lime:

·      Visual Basic

       Me.C1TrueDBGrid1.ExpandColor = Color.Lime

·      C#

       this.c1TrueDBGrid1.ExpandColor = Color.Lime;

·      Delphi

       Self.C1TrueDBGrid1.ExpandColor := Color.Lime;

See Also

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


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