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

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

Primary LanguageC#OtherNOASSERTION

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)