DataViewBase.AllowEditing Property

Gets or sets whether users can change cell values. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v21.2.Core.dll


public bool AllowEditing { get; set; }

Property Value

Type Description

true, to allow data editing; otherwise, false.


Users can edit cell values if the view’s AllowEditing option is set to true and the DataViewBase.NavigationStyle property is set to GridViewNavigationStyle.Cell.

Use the ColumnBase.AllowEditing property to override the view’s AllowEditing value for individual columns.


Set the column’s ColumnBase.ReadOnly to true to prevent users from editing column values, but allow users to select and copy cell text.

Refer to the Data Editing and Validation topic for more information.

See Also