wpf-devexpress-dot-xpf-dot-grid-dot-dataviewbase-5d0caf35.md
Allows you to customize the Total Summary‘s context menu. You can add new menu items or remove existing items.
Namespace : DevExpress.Xpf.Grid
Assembly : DevExpress.Xpf.Grid.v25.2.Core.dll
NuGet Package : DevExpress.Wpf.Grid.Core
[Browsable(false)]
public BarManagerActionCollection TotalSummaryMenuCustomizations { get; }
<Browsable(False)>
Public ReadOnly Property TotalSummaryMenuCustomizations As BarManagerActionCollection
| Type | Description |
|---|---|
| BarManagerActionCollection |
A collection of bar actions to customize the Total Summary‘s context menu.
|
The following example renames the “Customize…” item in the summary panel:
Use the bar‘s UpdateAction and specify the item name.
<dxg:TableView.TotalSummaryMenuCustomizations>
<dxb:UpdateAction ElementName="{x:Static dxg:DefaultSummaryMenuItemNames.Customize}" PropertyName="Content" Value="Edit..." />
</dxg:TableView.TotalSummaryMenuCustomizations>
Refer to the Context Menus topic for more information.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the TotalSummaryMenuCustomizations property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
how-to-customize-a-grids-context-menu-e1925/CS/Window1.xaml#L18
<!--region #Remove-->
<dxg:TableView.TotalSummaryMenuCustomizations>
<dxb:RemoveBarItemAndLinkAction ItemName="{x:Static dxg:DefaultSummaryMenuItemNames.Customize}" />
See Also