PivotGridSettings.AddPopupMenuItem Property

Enables you to customize the context menu.

Namespace: DevExpress.Web.Mvc

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

Declaration

public PivotAddPopupMenuItemEventHandler AddPopupMenuItem { get; set; }
Public Property AddPopupMenuItem As PivotAddPopupMenuItemEventHandler

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