A newer version of this page is available. Switch to the current version.

PivotGridFieldOptionsEx.ShowButtonMode Property

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

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v19.1.dll

Declaration

[XtraSerializableProperty]
[DefaultValue(PivotShowButtonModeEnum.Default)]
public virtual PivotShowButtonModeEnum ShowButtonMode { get; set; }
<XtraSerializableProperty>
<DefaultValue(PivotShowButtonModeEnum.Default)>
Public Overridable Property ShowButtonMode As PivotShowButtonModeEnum

Property Value

Type Default Description
PivotShowButtonModeEnum

Default

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

Property Paths

You can access this nested property as listed below:

Object Type Path to ShowButtonMode
PivotGridField
.Options.ShowButtonMode

Remarks

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