Skip to main content

PivotGridSettings.AddPopupMenuItem Property

Enables you to customize the context menu.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v23.2.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public PivotAddPopupMenuItemEventHandler AddPopupMenuItem { get; set; }

Property Value

Type Description
PivotAddPopupMenuItemEventHandler

A PivotAddPopupMenuItemEventHandler delegate method allowing you to implement custom processing.

Remarks

The AddPopupMenuItem event enables you to hide individual menu items. For instance, you can hide the ‘Hide’ menu item to prevent a user from hiding fields.

The item currently being processed, is identified by the event parameter’s MenuItem property. It’s visibility is controlled by the Add property. Set this property to false, to hide the item from the menu.

See Also