Back to Devexpress

Header Area Context Menu

vcl-157002-expresspivotgrid-concepts-header-area-context-menu.md

latest1.7 KB
Original Source

Header Area Context Menu

  • Sep 06, 2024

The header area context menu can be invoked by right-clicking the header area. This menu allows end-users to:

The table below lists the main properties which affect the menu’s appearance and behavior:

|

Availability

|

The pivot grid’s PopupMenus.HeaderAreaMenu.UseBuiltInMenu option.

| |

Contents

|

To invoke a custom pop-up menu at runtime, specify the menu via the pivot grid’s PopupMenus.HeaderAreaMenu.PopupMenu and set the PopupMenus.HeaderAreaMenu.UseBuiltInMenu property to False. Otherwise, the built-in pop-up menu will be displayed.

The pivot grid’s OptionsCustomize.QuickCustomization and OptionsCustomize.QuickPrefiltering properties control the availability of menu items in the built-in header area context menu.

Handle the pivot grid’s PopupMenus.OnPopup event to customize the contents of the invoked pop-up menu.

| |

Behavior

|

Handle the pivot grid’s PopupMenus.OnClick event to respond to clicks on menu items.

|