Skip to main content
A newer version of this page is available.
All docs
V17.2

GridView.GetShowEditorMode() Method

Returns a value that specifies how an in-place editor is activated for a grid cell.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v17.2.dll

Declaration

public override EditorShowMode GetShowEditorMode()

Returns

Type Description
EditorShowMode

A EditorShowMode enumeration value which specifies how a cell editor is activated.

Remarks

The GetShowEditorMode method overrides the base class ColumnView.GetShowEditorMode method to return EditorShowMode.Click if the View’s ColumnViewOptionsBehavior.EditorShowMode option is set to EditorShowMode.Default and the multiple cell selection (block selection) is allowed.

To enable individual cells and blocks of cells to be selected, set the View’s ColumnViewOptionsSelection.MultiSelect option to true and the GridOptionsSelection.MultiSelectMode property to GridMultiSelectMode.CellSelect.

The following code snippets (auto-collected from DevExpress Examples) contain references to the GetShowEditorMode() method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also