Gets or sets the Style object that controls the appearance of the grids column headers.
[Visual Basic]
Public Property HeadingStyle As C1.Win.C1TrueDBGrid.Style
[C#]
public C1.Win.C1TrueDBGrid.Style HeadingStyle {get;set;}
[Delphi]
public property HeadingStyle: C1.Win.C1TrueDBGrid.Style read get_HeadingStyle write set_HeadingStyle;
Example
The following code sets the background of the header in the second split to LightSkyBlue:
Me.C1TrueDBGrid1.Splits(1).HeadingStyle.BackColor = Color.LightSkyBlue
· C#
this.c1TrueDBGrid1.Splits[1].HeadingStyle.BackColor = Color.LightSkyBlue;
· Delphi
Self.C1TrueDBGrid1.Splits[1].HeadingStyle.BackColor := Color.LightSkyBlue;
See Also
Split Class | Split Members | C1.Win.C1TrueDBGrid Namespace
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |