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

Declaration

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

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:

Library Object Type Path to ImmediateEditor
WinForms Controls GanttControl
.OptionsBehavior.ImmediateEditor
GanttControl
.OptionsBehavior.ImmediateEditor
ResourcesTree
.OptionsBehavior.ImmediateEditor
TreeList
.OptionsBehavior.ImmediateEditor
Reporting XRDesignFieldList
.OptionsBehavior.ImmediateEditor
XRDesignFieldList
.OptionsBehavior.ImmediateEditor
XRDesignReportExplorer
.OptionsBehavior.ImmediateEditor
XRDesignReportExplorer
.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.

See Also