Skip to main content
A newer version of this page is available. .

PivotGridSettings.PopupMenuCreated Property

Enables you to create custom menu items.

Namespace: DevExpress.Web.Mvc

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

Declaration

public PivotPopupMenuCreatedEventHandler PopupMenuCreated { get; set; }

Property Value

Type Description
DevExpress.Web.ASPxPivotGrid.PivotPopupMenuCreatedEventHandler

A DevExpress.Web.ASPxPivotGrid.PivotPopupMenuCreatedEventHandler delegate method allowing you to implement custom processing.

Remarks

Handle the PopupMenuCreated event to create custom menu items. The context menu can be obtained via the PivotPopupMenuCreatedEventArgs.Menu property. Its type is returned by the PivotPopupMenuCreatedEventArgs.MenuType property.

To add a new menu item, use the MenuItemCollection.Add method. To hide default menu items, handle the PivotGridSettings.AddPopupMenuItem event.

To define an action for a custom menu item(s), handle the ASPxClientPivotGrid.PopupMenuItemClick event.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the PopupMenuCreated property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also