Back to Devexpress

TreeListOptionsBehavior.EditorShowMode Property

windowsforms-devexpress-dot-xtratreelist-dot-treelistoptionsbehavior-e8a8bd4e.md

latest3.2 KB
Original Source

TreeListOptionsBehavior.EditorShowMode Property

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

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.TreeList

Declaration

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

Property Value

TypeDefaultDescription
DevExpress.XtraTreeList.TreeListEditorShowModeDefault

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 TypePath 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

MultiSelectMode

GetEditorShowMode(TreeListNode)

Show and Hide Editors

TreeListOptionsBehavior Class

TreeListOptionsBehavior Members

DevExpress.XtraTreeList Namespace