Skip to main content
A newer version of this page is available. .

TreeList.CanShowEditor Property

Gets a value indicating whether the current cell’s editor can be invoked.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v18.2.dll

Declaration

[Browsable(false)]
public virtual bool CanShowEditor { get; }

Property Value

Type Description
Boolean

true if the current cell’s editor can be invoked; otherwise false.

Remarks

Cell values are edited by means of editors. Editors available for editing cell values are stored within the repository, which can be accessed via the Tree List’s EditorContainer.RepositoryItems property. The repository allows you to add, delete and customize individual editors within it.

You can assign editors to columns via the TreeListColumn.ColumnEdit property. In such a case, each column cell will use the specified editor. On the other hand, you can specify an editor for each individual cell by handling the TreeList.CustomNodeCellEdit event.

By default you can modify each cell value within the TreeList control. The following ways are available to prohibit cell value modification:

Use the CanShowEditor property to get a value indicating whether at least one of the above mentioned conditions is satisfied.

The following code snippets (auto-collected from DevExpress Examples) contain references to the CanShowEditor 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.

See Also