Gets or sets the Style object that controls the grids caption when it doesn't have focus.
[Visual Basic]
Public Property InactiveStyle As C1.Win.C1TrueDBGrid.Style
[C#]
public C1.Win.C1TrueDBGrid.Style InactiveStyle {get;set;}
[Delphi]
public property InactiveStyle: C1.Win.C1TrueDBGrid.Style read get_InactiveStyle write set_InactiveStyle;
Example
The following code uses the InactiveStyle property to set a tan background to the grids caption when it doesn't have focus:
Me.C1TrueDBGrid1.InactiveStyle.BackColor = Color.Tan
· C#
this.c1TrueDBGrid1.InactiveStyle.BackColor = Color.Tan;
· Delphi
Self.C1TrueDBGrid1.InactiveStyle.BackColor := Color.Tan;
See Also
C1TrueDBGrid Class | C1TrueDBGrid Members | C1.Win.C1TrueDBGrid Namespace
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |