Skip to main content

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.2.dll

Declaration

[XtraSerializableProperty]
public bool IsReadOnly { get; set; }

Property Value

Type Description
Boolean

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

Remarks

Important

This documentation topic describes legacy technology. We no longer develop new functionality for the GridControl and suggest that you use the new DataGridView control instead.

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