ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

C1TrueDBGrid.HeadingStyle Property

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 assigns blue background to the grid's column headers:

·      Visual Basic

       Me.C1TrueDBGrid1.HeadingStyle.BackColor = Color.Blue

·      C#

       this.c1TrueDBGrid1.HeadingStyle.BackColor = Color.Blue;

·      Delphi

       Self.C1TrueDBGrid1.HeadingStyle.BackColor := Color.Blue;

See Also

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


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