Gets or sets the Style object that controls the appearance of an even-numbered row when using AlternatingRows.
[Visual Basic]
Public Property EvenRowStyle As C1.Win.C1TrueDBGrid.Style
[C#]
public C1.Win.C1TrueDBGrid.Style EvenRowStyle {get;set;}
[Delphi]
public property EvenRowStyle: C1.Win.C1TrueDBGrid.Style read get_EvenRowStyle write set_EvenRowStyle;
Example
The following code sets the BackColor property for the EvenRowStyle to Linen:
Me.C1TrueDBGrid1.AlternatingRows = True
Me.C1TrueDBGrid1.EvenRowStyle.BackColor = Color.Linen
· C#
this.c1TrueDBGrid1.AlternatingRows = True;
this.c1TrueDBGrid1.EvenRowStyle.BackColor = Color.Linen;
· Delphi
Self.C1TrueDBGrid1.AlternatingRows := True;
Self.C1TrueDBGrid1.EvenRowStyle.BackColor := Color.Linen;
See Also
C1TrueDBGrid Class | C1TrueDBGrid Members | C1.Win.C1TrueDBGrid Namespace
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |