xamarin-devexpress-dot-mobile-dot-datagrid-dot-gridcontrol-71b67fe7.md
Gets or sets whether end-users are allowed to change cell values in the grid. This is a bindable property.
Namespace : DevExpress.Mobile.DataGrid
Assembly : DevExpress.Mobile.Grid.v18.2.dll
[XtraSerializableProperty]
public bool AllowEditRows { get; set; }
<XtraSerializableProperty>
Public Property AllowEditRows As Boolean
| Type | Description |
|---|---|
| Boolean |
true , to allow data editing; otherwise, false.
|
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.
End-users can switch the grid to edit mode by double-tapping the required cell or tapping the Edit Cell in a menu that appears when they touch and hold a data row. If the AllowEditRows property is set to true , both these methods are available. Otherwise, end-users cannot edit data.
To prevent end-users from editing values of a specific column only, use the GridColumn.IsReadOnly property of the corresponding column object.
The GridControl.IsReadOnly property allows you to prevent end-users from editing data values in the grid as well as from adding and deleting data rows.
See Also