Back to Devexpress

PivotGridFieldOptionsEx.ShowButtonMode Property

windowsforms-devexpress-dot-xtrapivotgrid-dot-pivotgridfieldoptionsex-624e1ab3.md

latest3.5 KB
Original Source

PivotGridFieldOptionsEx.ShowButtonMode Property

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

Namespace : DevExpress.XtraPivotGrid

Assembly : DevExpress.XtraPivotGrid.v25.2.dll

NuGet Package : DevExpress.Win.PivotGrid

Declaration

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

Property Value

TypeDefaultDescription
PivotShowButtonModeEnumDefault

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

|

Available values:

NameDescription
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 TypePath 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

ShowButtonMode

FieldEdit

CustomCellEdit

PivotGridOptionsCustomizationEx.AllowEdit

PivotGridFieldOptionsEx.AllowEdit

PivotGridFieldOptionsEx Class

PivotGridFieldOptionsEx Members

DevExpress.XtraPivotGrid Namespace