Skip to main content

TreeListOptionsBehavior.EditorShowMode Property

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

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.2.dll

Declaration

[DefaultValue(TreeListEditorShowMode.Default)]
[XtraSerializableProperty]
public virtual TreeListEditorShowMode EditorShowMode { get; set; }

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:

Object Type Path to EditorShowMode
TreeList
.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