PivotAddPopupMenuItemEventArgs.MenuItem Property
Gets which menu item is currently being processed.
Namespace: DevExpress.Web.ASPxPivotGrid
Assembly: DevExpress.Web.ASPxPivotGrid.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public MenuItemEnum MenuItem { get; }
#Property Value
Type | Description |
---|---|
Menu |
A Menu |
Available values:
Name | Description |
---|---|
Header |
Corresponds to the menu item used to refresh the ASPx To refresh the control’s data in code, use the ASPx |
Header |
Corresponds to the menu item used to hide individual field headers. This menu item is displayed within the Field Header Popup Menu. |
Header |
Corresponds to the menu item used to invoke the Customization Window that displays hidden fields. This menu item is displayed within the Field Header Popup Menu. |
Header |
Corresponds to the menu item used to invoke the Prefilter Editor used to build complex filter expressions. This menu item is displayed within the Field Header Popup Menu. |
Header |
Corresponds to the menu item used to invoke the Filter Editor used to build complex filter expressions. This menu item is displayed within the Field Header Popup Menu. |
Field |
Corresponds to the menu item used to expand/collapse individual field values. This menu item is displayed within the Field Value Popup Menu. |
Field |
Corresponds to the menu item used to expand/collapse all field values displayed within the row header area or column header area. This menu item is displayed within the Field Value Popup Menu. |
Field |
Corresponds to the menu item used to sort row or column field values by column or row summary value, respectively. This menu item is displayed within the Field Value Popup Menu. |
Header |
Corresponds to the menu item used to apply sorting in ascending order. |
Header |
Corresponds to the menu item used to apply sorting in descending order. |
Header |
Corresponds to the menu item used to clear sorting. |
#Remarks
The ASPxPivotGrid.AddPopupMenuItem event enables you to hide individual menu items. Use the MenuItem property to identify which menu item is currently being processed. To hide the required menu item, set the PivotAddPopupMenuItemEventArgs.Add property to false.