Skip to main content

TreeListOptionsBehavior.ImmediateEditor Property

Gets or sets whether an in-place editor is automatically activated when a cell is clicked.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.dll

Declaration

[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public virtual bool ImmediateEditor { get; set; }

Property Value

Type Description
Boolean

true if an in-place editor is automatically activated when a cell is clicked; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to ImmediateEditor
TreeList
.OptionsBehavior .ImmediateEditor

Remarks

Important

This property is hidden in DevExpress installations of version 17.2 and newer. For these versions use the TreeListOptionsBehavior.EditorShowMode property instead.

If the ImmediateEditor is set to true clicking a cell automatically opens the cell’s editor. If the ImmediateEditor property is set to false an in-place edtor is not immediately opened after a cell has been clicked. To open an in-place editor an end-user can click this cell once more or press the F2 or ENTER key. If an alpha-numeric character is pressed within a cell the cell’s editor is automatically opened and the character is passed to the editor.

To prevent data from being edited within the Tree List control set the TreeListOptionsBehavior.Editable property to false.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ImmediateEditor 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