ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

C1TrueDBDropdown.Style Property

Gets or sets the root Style object.

[Visual Basic]

Public Property Style As C1.Win.C1TrueDBGrid.Style

[C#]

public C1.Win.C1TrueDBGrid.Style Style {get;set;}

[Delphi]

public property Style: C1.Win.C1TrueDBGrid.Style read get_Style write set_Style;

Example

The following code sets the background color of the grid to blue:

·      Visual Basic

       Me.C1TrueDBDropdown1.Style.BackColor = Color.Blue

·      C#

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

·      Delphi

       Self.C1TrueDBDropdown1.Style.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.