ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

C1TrueDBGrid.FilterBarStyle Property

Gets or sets the Style object that controls the appearance of the FilterBar.

[Visual Basic]

Public Property FilterBarStyle As C1.Win.C1TrueDBGrid.Style

[C#]

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

[Delphi]

public property FilterBarStyle: C1.Win.C1TrueDBGrid.Style read get_FilterBarStyle write set_FilterBarStyle;

Example

The following code sets the BackColor of the Filter Bar to LightSteelBlue:

·      Visual Basic

       Me.C1TrueDBGrid1.FilterBar = True

       Me.C1TrueDBGrid1.FilterBarStyle.BackColor = Color.LightSteelBlue

·      C#

       this.c1TrueDBGrid1.FilterBar = true;

       this.c1TrueDBGrid1.FilterBarStyle.BackColor = Color.LightSteelBlue;

·      Delphi

       Self.C1TrueDBGrid1.FilterBar := True;

       Self.C1TrueDBGrid1.FilterBarStyle.BackColor = Color.LightSteelBlue;

See Also

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


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