ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

C1TrueDBDropdown.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 a blue background color to the grid's column headers in the C1TrueDBDropdown control:

·      Visual Basic

       Me.C1TrueDBDropdown1.HeadingStyle.BackColor = Color.Blue

·      C#

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

·      Delphi

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

See Also

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


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