PopupMenuShowingEventArgs Class
Provides data for the PivotGridControl.PopupMenuShowing event.
Namespace: DevExpress.Xpf.PivotGrid
Assembly: DevExpress.Xpf.PivotGrid.v24.1.dll
NuGet Package: DevExpress.Wpf.PivotGrid
Declaration
Remarks
The PivotGridControl.PopupMenuShowing event is raised when an end-user invokes a context menu, allowing you to customize this menu.
Use the PopupMenuShowingEventArgs.Customizations property to add new and remove existing menu items. This property provides access to a collection of actions that allow you to customize the context menu. To learn more, see Context Menus, Items and Links and Bar Actions.
To determine for what kind of pivot grid element (a cell, a field value, a field header or the field header area) the menu has invoked, use the PopupMenuShowingEventArgs.MenuType property. To obtain the actual visual element for which the menu is invoked, use the PopupMenuShowingEventArgs.TargetElement property.
Use the following methods to obtain additional information about this visual element.
Returns information about the cell for which the menu is invoked. | |
Returns information about the field value for which the menu is invoked. | |
Returns information about the field for whose header the menu is invoked. |