Namespace: Dapfor.Net.UiAssembly: Dapfor.Net (in Dapfor.Net.dll) Version: 2.10.3.24917 (2.10.3.24917)
Syntax
C# |
---|
public Appearance ColumnPanel { get; set; } |
Visual Basic |
---|
Public Property ColumnPanel As Appearance
Get
Set |
Visual C++ |
---|
public:
property Appearance^ ColumnPanel {
Appearance^ get ();
void set (Appearance^ value);
} |
F# |
---|
member ColumnPanel : Appearance with get, set
|
Property Value
Type:
AppearanceThe
Appearance.
Examples
| Copy |
---|
public void ColumnPanelAppearance(Grid grid)
{
Header header = new Header();
header.Add(new Column("Name"));
header.Add(new Column("Price"));
header.Add(new Column("Quantity"));
grid.Headers.Add(header);
grid.Appearance.EvenRows.BackColor = Color.Gray;
grid.Appearance.OddRows.BackColor = Color.Black;
header.Appearance.EvenRows.BackColor = Color.Gray;
header.Appearance.OddRows.BackColor = Color.Black;
header.Appearance.ColumnPanel.ForeColor = Color.Red;
header.Appearance.ColumnPanel.BackColor = Color.LightSteelBlue;
header.Appearance.ColumnPanel.GradientEnabled = true;
header.Appearance.ColumnPanel.GradientDirection = GradientDirection.Vertical;
header.Appearance.ColumnPanel.GradientEndBackColor = Color.LightGray;
header["Price"].Appearance.CaptionColor.ForeColor = Color.Yellow;
header["Price"].Appearance.CaptionColor.BackColor = Color.SteelBlue;
header["Price"].Appearance.CaptionColor.GradientEnabled = true;
header["Price"].Appearance.CaptionColor.GradientDirection = GradientDirection.Vertical;
header["Price"].Appearance.CaptionColor.GradientEndBackColor = Color.Gray;
grid.Rows.Add(new Product());
Row row = grid.Rows[0];
row["Price"].Appearance.BackColor = Color.Green;
} |
See Also