GridControl.IsReadOnly Property

Gets or sets whether the grid is read-only. This is a bindable property.

Namespace: DevExpress.Mobile.DataGrid

Assembly: DevExpress.Mobile.Grid.v18.1.dll

Declaration

[XtraSerializableProperty]
public bool IsReadOnly { get; set; }
<XtraSerializableProperty>
Public Property IsReadOnly As Boolean

Property Value

Type Description
Boolean

true, if the grid is read-only; otherwise, false.

If the IsReadOnly property is set to true, end-users are not allowed to change cell values, create new data rows and delete existing rows. To set the read-only status for individual columns, use the column's GridColumn.IsReadOnly property.

See Also