Back to Devexpress

PivotGridOptionsMenu.EnableFormatRulesMenu Property

windowsforms-devexpress-dot-xtrapivotgrid-dot-pivotgridoptionsmenu.md

latest2.5 KB
Original Source

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

NuGet Package : DevExpress.Win.PivotGrid

Declaration

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

Property Value

TypeDefaultDescription
Booleanfalse

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 TypePath 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).

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

PivotGridOptionsMenu Class

PivotGridOptionsMenu Members

DevExpress.XtraPivotGrid Namespace