How to: Remove Items from the Context Menu
This example shows how to remove items from the PivoGridControl context menu.
In this sample, the 'Show Prefilter', 'Show Field List' and 'Refresh Data' items are removed from the field headers' context menu. For this purpose, three RemoveBarItemAndLinkAction objects are added to the control's HeaderMenuCustomizations collection. Their ItemName properties are set to ItemShowPrefilter, ItemShowFieldList and ItemRefreshData, respectively.