ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

Split.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 Filter Bar's font color in the second split to BlueViolet:

·      Visual Basic

       Me.C1TrueDBGrid1.Splits(1).FilterBar = True

       Me.C1TrueDBGrid1.Splits(1).FilterBarStyle.ForeColor = Color.BlueViolet

·      C#

       this.c1TrueDBGrid1.Splits[1].FilterBar = true;

       this.c1TrueDBGrid1.Splits[1].FilterBarStyle.ForeColor = Color.BlueViolet;

·      Delphi

       Self.C1TrueDBGrid1.Splits[1].FilterBar := True;

       Self.C1TrueDBGrid1.Splits[1].FilterBarStyle.ForeColor := Color.BlueViolet;

See Also

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


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