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

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.v24.2.dll

NuGet Package: DevExpress.Win.PivotGrid

#Declaration

[DefaultValue(false)]
[XtraSerializableProperty]
public virtual bool EnableFormatRulesMenu { get; set; }

#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