Back to Devexpress

ColumnView.GetShowEditorMode() Method

windowsforms-devexpress-dot-xtragrid-dot-views-dot-base-dot-columnview-e07a41ca.md

latest2.2 KB
Original Source

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

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

csharp
public virtual EditorShowMode GetShowEditorMode()
vb
Public Overridable Function GetShowEditorMode As EditorShowMode

Returns

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

See Also

GetShowEditorMode

ColumnView Class

ColumnView Members

DevExpress.XtraGrid.Views.Base Namespace