Gets a default appearance of even
Rows
Namespace: Dapfor.Net.UiAssembly: Dapfor.Net (in Dapfor.Net.dll) Version: 2.10.3.24917 (2.10.3.24917)
Syntax
| C# |
|---|
public Appearance EvenRows { get; set; } |
| Visual Basic |
|---|
Public Property EvenRows As Appearance
Get
Set |
| Visual C++ |
|---|
public:
property Appearance^ EvenRows {
Appearance^ get ();
void set (Appearance^ value);
} |
| F# |
|---|
member EvenRows : Appearance with get, set
|
Property Value
Type:
AppearanceThe appearance.
Examples
| | Copy |
|---|
public void CellAppearance(Grid grid)
{
grid.Rows.Add(new Product());
Row row = grid.Rows[0];
grid.Appearance.EvenRows.BackColor = Color.Gray;
grid.Appearance.OddRows.BackColor = Color.Black;
grid.Headers[0].Appearance.EvenRows.BackColor = Color.Gray;
grid.Headers[0].Appearance.OddRows.BackColor = Color.Black;
row["Price"].Appearance.BackColor = Color.Green;
} |
See Also