Skip to main content

DataViewBase.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.1.Core.dll

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public EditorButtonShowMode EditorButtonShowMode { get; set; }

Property Value

Type Default Description
EditorButtonShowMode ShowOnlyInEditor

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

Available values:

Name Description
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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the EditorButtonShowMode property.

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