TreeListOptionsColumn.AllowEdit Property
Gets or sets whether users can invoke editors for the column’s cells.
Namespace: DevExpress.XtraTreeList.Columns
Assembly: DevExpress.XtraTreeList.v21.2.dll
NuGet Packages: DevExpress.Win.Design, DevExpress.Win.TreeList
Declaration
[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool AllowEdit { get; set; }
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 |
|
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.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the AllowEdit property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.