Skip to main content

PivotGridFieldOptionsEx.ShowButtonMode Property

Gets or sets which cells corresponding to the current field display editor buttons.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v22.2.dll

NuGet Package: DevExpress.Win.PivotGrid


public virtual PivotShowButtonModeEnum ShowButtonMode { get; set; }

Property Value

Type Default Description
PivotShowButtonModeEnum Default

A PivotShowButtonModeEnum value that specifies the current display mode for cell buttons.

Available values:

Name Description

This option is equivalent to the ShowOnlyInEditor option.


Editor buttons are displayed for all cells.


Editor buttons are only displayed for the focused cell.


Editor buttons are only displayed when a cell editor is active.

Property Paths

You can access this nested property as listed below:

Object Type Path to ShowButtonMode
.Options .ShowButtonMode


You can assign editors to cells that correspond to a data field via the PivotGridField.FieldEdit property and/or the PivotGridControl.CustomCellEdit and PivotGridControl.CustomCellEditForEditing events. Using this approach, you can assign editors that embed buttons. The ShowButtonMode property specifies when editor buttons for the current field’s cells must be displayed.

To specify the button show mode for all data fields, use the PivotGridOptionsView.ShowButtonMode property.

See Also