windowsforms-devexpress-dot-xtrapivotgrid-dot-pivotgridoptionsview-56376e31.md
Gets or sets a value specifying when buttons of in-place editors are shown in cells.
Namespace : DevExpress.XtraPivotGrid
Assembly : DevExpress.XtraPivotGrid.v25.2.dll
NuGet Package : DevExpress.Win.PivotGrid
[DefaultValue(PivotShowButtonModeEnum.Default)]
[XtraSerializableProperty]
public virtual PivotShowButtonModeEnum ShowButtonMode { get; set; }
<DefaultValue(PivotShowButtonModeEnum.Default)>
<XtraSerializableProperty>
Public Overridable Property ShowButtonMode As PivotShowButtonModeEnum
| 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.
|
You can access this nested property as listed below:
| Object Type | Path to ShowButtonMode |
|---|---|
| PivotGridControl |
.OptionsView .ShowButtonMode
|
Individual fields can override this property’s value via their PivotGridFieldOptionsEx.ShowButtonMode properties.
See Also
PivotGridOptionsCustomizationEx.AllowEdit