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.v20.1.dll


public virtual bool ImmediateEditor { get; set; }
Public Overridable Property ImmediateEditor As Boolean

Property Value

Type Description

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:

Library Object Type Path to ImmediateEditor
WinForms Controls GanttControl
Reporting XRDesignFieldList



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.

See Also