TreeListOptionsColumn.AllowEdit Property
Specifies if users can edit column values in tree list cells (inplace edit mode).
Namespace: DevExpress.XtraTreeList.Columns
Assembly: DevExpress.XtraTreeList.v24.2.dll
Declaration
[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool AllowEdit { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Boolean | true |
|
Property Paths
You can access this nested property as listed below:
Object Type | Path to AllowEdit |
---|---|
TreeListColumn |
|
Remarks
The AllowEdit
option is in effect if the tree list’s TreeList.OptionsBehavior.Editable property is set to true
and the EditingMode property is set to Default
or Inplace
.
Handle the TreeList.ShowingEditor event to prevent a user from changing the value in individual cells. This event occurs when an inplace editor is about to open, and allows you to cancel this action.
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.