Skip to main content

EditorShowMode Enum

Lists the values used to specify how the in-place editor should be invoked when a cell is clicked.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Xpf.Core.v14.2.dll

#Declaration

public enum EditorShowMode

#Members

Name Description
Default

Specifies the default behavior.

For the DXGrid control, this option acts as the EditorShowMode.MouseDown option.

MouseDown

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

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).

MouseUp

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

MouseUpFocused

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).

#Passed To

You can pass EditorShowMode values to the DataViewBase.EditorShowMode property.

#Remarks

Values listed by the EditorShowMode enumeration are used to set the DataViewBase.EditorShowMode property.

See Also