Back to Devexpress

ColumnBase.EditorButtonShowMode Property

wpf-devexpress-dot-xpf-dot-grid-dot-columnbase-8140e182.md

latest2.0 KB
Original Source

ColumnBase.EditorButtonShowMode Property

Gets or sets when editor buttons are displayed within cells. This is a dependency property.

Namespace : DevExpress.Xpf.Grid

Assembly : DevExpress.Xpf.Grid.v25.2.Core.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public EditorButtonShowMode? EditorButtonShowMode { get; set; }
vb
Public Property EditorButtonShowMode As EditorButtonShowMode?

Property Value

TypeDefaultDescription
Nullable<EditorButtonShowMode>Null

An EditorButtonShowMode enumeration value that specifies when editor buttons are displayed within cells.

|

Available values:

NameDescription
ShowOnlyInEditor

Displays editor buttons only when a cell editor is active.

| | ShowForFocusedCell |

Displays editor buttons only for the focused cell.

| | ShowForFocusedRow |

Displays editor buttons only for cells within the focused row.

| | ShowAlways |

Displays editor buttons for all cells within a column.

|

Remarks

The ColumnBase.EditorButtonShowMode property has a higher priority than the DataViewBase.EditorButtonShowMode property.

If you set the ColumnBase.EditorButtonShowMode property to null, the column applies the DataViewBase.EditorButtonShowMode property’s value.

See Also

ColumnBase Class

ColumnBase Members

DevExpress.Xpf.Grid Namespace