Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PivotGridOptionsView.ShowButtonMode Property

Gets or sets a value specifying when buttons of in-place editors are shown in cells.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v24.2.dll

NuGet Package: DevExpress.Win.PivotGrid

#Declaration

[DefaultValue(PivotShowButtonModeEnum.Default)]
[XtraSerializableProperty]
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
Default

This option is equivalent to the ShowOnlyInEditor option.

ShowAlways

Editor buttons are displayed for all cells.

ShowForFocusedCell

Editor buttons are only displayed for the focused cell.

ShowOnlyInEditor

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
PivotGridControl
.OptionsView .ShowButtonMode

#Remarks

Individual fields can override this property’s value via their PivotGridFieldOptionsEx.ShowButtonMode properties.

See Also