Skip to main content

DataControlBase.AllowEditing Property

Gets or sets whether end-users are allowed to change cell values. This is a dependency property.

Namespace: DevExpress.UI.Xaml.Grid

Assembly: DevExpress.UI.Xaml.Grid.v21.2.dll

NuGet Package: DevExpress.Uwp.Controls

Declaration

public bool AllowEditing { get; set; }

Property Value

Type Description
Boolean

true, to allow data editing; otherwise, false. The default is true.

Remarks

Data editing is allowed if the grid’s AllowEditing option is set to true and the DataControlBase.NavigationStyle property is set to GridControlNavigationStyle.Cell.

Individual columns provide the ColumnBase.AllowEditing property which allows the default behavior specified by the grid to be overridden for individual columns. By default, this property is set to ‘Default’. In this instance, the column’s behavior is controlled by the grid. Setting this property to ‘True’ or ‘False’ overrides the default behavior. For instance, you can set the column’s ColumnBase.AllowEditing property to ‘False’ to prevent an end-user from changing its values.

To learn more, see Data Editing.

See Also