Back to Devexpress

GridControl.AllowEditRows Property

xamarin-devexpress-dot-mobile-dot-datagrid-dot-gridcontrol-71b67fe7.md

latest2.2 KB
Original Source

GridControl.AllowEditRows Property

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

Declaration

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

Property Value

TypeDescription
Boolean

true , to allow data editing; 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.

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

End-User Restrictions

GridControl Class

GridControl Members

DevExpress.Mobile.DataGrid Namespace