Skip to main content

ColumnView.GetShowEditorMode() Method

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

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v24.2.dll

Declaration

public virtual EditorShowMode GetShowEditorMode()

Returns

Type Description
EditorShowMode

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

Remarks

To specify how an in-place editor is activated for a grid cell use the ColumnViewOptionsBehavior.EditorShowMode option. This option can be accessed via the View’s ColumnView.OptionsBehavior property.

The GetShowEditorMode method returns the ColumnViewOptionsBehavior.EditorShowMode property’s value. However, if this property is set to EditorShowMode.Default (the default behavior), the GetShowEditorMode method returns EditorShowMode.MouseDown.

The following code snippet (auto-collected from DevExpress Examples) contains a reference 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