You are viewing help content for pre-release software. This document and the features it describes are subject to change. Switch to the current version.

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.v20.2.dll

Declaration

public enum EditorShowMode
Public Enum EditorShowMode

Members

Name Description
Default

Specifies the default behavior.

For the GridControl, this option acts as the EditorShowMode.MouseDown option.

If the grid functions in marquee selection mode or the multiple cell selection is enabled, this option acts as the EditorShowMode.MouseUpFocused.

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

Related API Members

The following properties accept/return EditorShowMode values:

Remarks

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

See Also