TreeList.CanShowEditor Property

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

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v20.1.dll

Declaration

[Browsable(false)]
public virtual bool CanShowEditor { get; }
<Browsable(False)>
Public Overridable ReadOnly Property CanShowEditor As Boolean

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.

See Also