Click or drag to resize
StyleEnabled Property
Gets or sets the enabled state for the cell.

Namespace: Stingray.Grid
Assembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: [TAG_DECIMAL_VERSION]
Syntax
[DefaultValueAttribute(true)]
public bool Enabled { get; set; }

Property Value

Type: Boolean
true 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