Gets the settings of a row selector (visual element on the left side of the
Grid, which permits to manipulate the
Rows, change their height, select them,
show related images, etc.).
Namespace: Dapfor.Net.UiAssembly: Dapfor.Net (in Dapfor.Net.dll) Version: 2.10.3.24917 (2.10.3.24917)
Syntax
C# |
---|
public Grid..::..GridRowSelector RowSelector { get; } |
Visual Basic |
---|
Public ReadOnly Property RowSelector As Grid..::..GridRowSelector
Get |
Visual C++ |
---|
public:
property Grid..::..GridRowSelector^ RowSelector {
Grid..::..GridRowSelector^ get ();
} |
F# |
---|
member RowSelector : Grid..::..GridRowSelector with get
|
Property Value
Type:
Grid..::..GridRowSelectorThe row selector settings.
Examples
| Copy |
---|
public void RowSelectorExample(Grid grid)
{
grid.Headers.Add(new Header());
grid.Headers[0].Add(new Column("Price"));
grid.Headers[0].Add(new Column("Quantity"));
grid.RowSelector.Appearance.BackColor = Color.LightGray;
grid.RowSelector.Appearance.GradientEnabled = true;
grid.RowSelector.Appearance.GradientEndBackColor = Color.LightSlateGray;
grid.RowSelector.Appearance.GradientDirection = GradientDirection.Vertical;
grid.RowSelector.Visible = true;
grid.RowSelector.Width = 25;
grid.RowSelector.Resizable = true;
grid.Rows.Add(new Product());
} |
See Also