Skip to main content

DataViewBase.AllowEditing Property

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

Namespace: DevExpress.Xpf.Grid

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

#Declaration

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

#Property Value

Type Description
Boolean

true to allow data editing; otherwise, false.

#Remarks

Data editing is allowed if the grid's AllowEditing option is set to true and the DataViewBase.NavigationStyle property is set to GridViewNavigationStyle.Cell.

Individual columns provide the ColumnBase.AllowEditing property, which allows the default behavior specified by a View 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 View. 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 Overview.

See Also