TreeListOptionsColumn.AllowEdit Property

Gets or sets whether users can invoke editors for the column's cells.

Namespace: DevExpress.XtraTreeList.Columns

Assembly: DevExpress.XtraTreeList.v20.1.dll

Declaration

[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool AllowEdit { get; set; }
<DefaultValue(True)>
<XtraSerializableProperty>
Public Overridable Property AllowEdit As Boolean

Property Value

Type Default Description
Boolean

true

true, if users are allowed to invoke cell editors; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to AllowEdit
TreeListColumn
.OptionsColumn.AllowEdit

Remarks

Users are allowed to invoke cell editors if the TreeList.OptionsBehavior.Editable property is set to true. The AllowEdit property allows you to prevent editors from being invoked for individual columns.

To prevent individual cells from being edited, handle the TreeList.ShowingEditor event.

See Also