| StyleEnabled Property |
Gets or sets the enabled state for the cell.
Namespace: Stingray.GridAssembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: 14.0.0.0
Syntax [DefaultValueAttribute(true)]
public bool Enabled { get; set; }
<DefaultValueAttribute(true)>
Public Property Enabled As Boolean
Get
Set
public:
[DefaultValueAttribute(true)]
property bool Enabled {
bool get ();
void set (bool value);
}
Property Value
Type:
Booleantrue if the cell is enabled and
false otherwise.
Remarks
It is not possible to position the current cell onto a disabled cell.
When the user navigates with arrow keys through the grid, disabled
cells are skipped. When the user clicks with the mouse into a
disabled cell, nothing happens.
We recommend that you set disabled cells to read-only. Otherwise,
the user is able to select a range of cells and press DELETE to clear all
cells in the selected range.
See Also