TreeListOptionsBehavior.EditorShowMode Property

Gets or sets how cell editors are invoked by the mouse (click, double click, etc.).

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v20.1.dll

Declaration

[DefaultValue(TreeListEditorShowMode.Default)]
[XtraSerializableProperty]
public virtual TreeListEditorShowMode EditorShowMode { get; set; }
<DefaultValue(TreeListEditorShowMode.Default)>
<XtraSerializableProperty>
Public Overridable Property EditorShowMode As TreeListEditorShowMode

Property Value

Type Default Description
DevExpress.XtraTreeList.TreeListEditorShowMode

Default

A TreeListEditorShowMode enumeration value that specifies how cell editors are invoked by the mouse.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to EditorShowMode
WinForms Controls GanttControl
.OptionsBehavior.EditorShowMode
GanttControl
.OptionsBehavior.EditorShowMode
ResourcesTree
.OptionsBehavior.EditorShowMode
TreeList
.OptionsBehavior.EditorShowMode
Reporting XRDesignFieldList
.OptionsBehavior.EditorShowMode
XRDesignFieldList
.OptionsBehavior.EditorShowMode
XRDesignReportExplorer
.OptionsBehavior.EditorShowMode
XRDesignReportExplorer
.OptionsBehavior.EditorShowMode

Remarks

The EditorShowMode property specifies how cell editors are invoked. The TreeListEditorShowMode enumeration provides the following values:

  • Default—the same as Click in the per-cell multiple selection mode (see TreeListOptionsSelection.MultiSelectMode); MouseDown, otherwise.
  • MouseDown—a cell editor is invoked when the left mouse button is pressed, before being released.
  • MouseUp—a cell editor is invoked when the left mouse button is released, after being pressed.
  • Click—the first click focuses the cell, the subsequent click invokes the cell editor.
  • MouseDownFocused—a cell editor is invoked when the left mouse button is pressed within a previously focused cell.
  • DoubleClick—a cell editor is invoked on a double mouse click.
NOTE

If the CTRL, ALT or SHIFT modifier key is pressed while clicking a cell, the cell is focused, but the cell editor is not activated.

See Also