Skip to content

This example demonstrates how to use the PivotGridControl.PopupMenuShowing event to add custom items to the built-in context menu.

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/wpf-pivot-grid-change-summary-display-type

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PivotGrid for WPF - How to Change SummaryDisplayType in the Context Menu

The following example shows how to customize the field header's context menu in the PivotGridControl.PopupMenuShowing event to add custom items to the built-in context menu.

screenshot

Files to Review

The event adds a new item to the fieldValuer field header's context menu and allows you to change the SummaryDisplayType value. The event is handled automatically if the field's AllowFieldSummaryTypeChanging or  AllowFieldSummaryDisplayTypeChanging attached properties are true. The properties are defined in the HeaderMenuHelper class.

API

More Examples

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)

About

This example demonstrates how to use the PivotGridControl.PopupMenuShowing event to add custom items to the built-in context menu.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 7