Skip to main content
A newer version of this page is available. .
Bar

BarEditItem.EditorShowMode Property

Gets or sets a value which specifies how an item’s editor is activated.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v19.2.dll

Declaration

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

Property Value

Type Default Description
EditorShowMode **Default**

A EditorShowMode enumeration value which specifies how an item’s editor is activated.

Available values:

Name Description
Default

Specifies the default behavior.

For the Grid Control, the Default value is equivalent to:

For the PivotGrid control, this option acts as the EditorShowMode.MouseDownFocused option.

MouseDown

A cell’s in-place editor is activated when the left mouse button is pressed.

MouseUp

A cell’s in-place editor is activated when a mouse button is released from a click within the cell.

Click

If a cell is focused and not being edited, an in-place editor is opened on a click (the mouse button is pressed and then released). Clicking a non-focused cell focuses the cell first, and a subsequent click activates the in-place editor (if not prohibited).

MouseDownFocused

If a cell is focused and not being edited, an in-place editor is opened on pressing the mouse button. Clicking a non-focused cell focuses the cell first, and a subsequent mouse-down event activates the in-place editor (if not prohibited).

See Also