PivotGridOptionsMenu.EnableFormatRulesMenu Property

Gets or sets a value indicating whether the PivotGridControl.FormatRules context menu is allowed and can be invoked by an end-user.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v20.1.dll

Declaration

[DefaultValue(false)]
[XtraSerializableProperty]
public virtual bool EnableFormatRulesMenu { get; set; }
<DefaultValue(False)>
<XtraSerializableProperty>
Public Overridable Property EnableFormatRulesMenu As Boolean

Property Value

Type Default Description
Boolean

false

true, if the context menu is allowed and can be invoked by an end-user; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to EnableFormatRulesMenu
PivotGridControl
.OptionsMenu.EnableFormatRulesMenu

Remarks

If the EnableFormatRulesMenu option is enabled, an end-user can apply format rules for a data cells by right-clicking the data area (see the image below).

WinForms Pivot Format Rules Popup Menu

IMPORTANT

To enable the multi-column item layout at the third menu level shown in the image above, add the BarManager component to the form. Otherwise, menu elements at the third menu level will be arranged in a linear list; specific menu items will be displayed without glyphs.

See Also