TreeListOptionsBehavior.EditorShowMode Property
In This Article
Gets or sets how cell editors are invoked by the mouse (click, double click, etc.).
Namespace: DevExpress.XtraTreeList
Assembly: DevExpress.XtraTreeList.v24.2.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList
#Declaration
[DefaultValue(TreeListEditorShowMode.Default)]
[XtraSerializableProperty]
public virtual TreeListEditorShowMode EditorShowMode { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
DevExpress. |
Default | A Tree |
#Property Paths
You can access this nested property as listed below:
Object Type | Path to Editor |
---|---|
Tree |
|
#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