Back to Devexpress

GridViewBase.GroupPanelMenuCustomizations Property

wpf-devexpress-dot-xpf-dot-grid-dot-gridviewbase-9184aa66.md

latest2.0 KB
Original Source

GridViewBase.GroupPanelMenuCustomizations Property

Allows you to customize the Group Panel‘s context menu. You can add new menu items or remove existing items.

Namespace : DevExpress.Xpf.Grid

Assembly : DevExpress.Xpf.Grid.v25.2.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
[Browsable(false)]
public BarManagerActionCollection GroupPanelMenuCustomizations { get; }
vb
<Browsable(False)>
Public ReadOnly Property GroupPanelMenuCustomizations As BarManagerActionCollection

Property Value

TypeDescription
BarManagerActionCollection

A collection of bar actions to customize the Group Panel‘s context menu.

|

Remarks

Example

The following example removes the Clear Grouping item from the Group Panel‘s context menu:

xaml
<dxg:TableView.GroupPanelMenuCustomizations>
    <dxb:RemoveBarItemAndLinkAction ItemName="{x:Static dxg:DefaultColumnMenuItemNames.ClearGrouping}" />
</dxg:TableView.GroupPanelMenuCustomizations>

Refer to the Context Menus topic for more information.

See Also

GridViewBase Class

GridViewBase Members

DevExpress.Xpf.Grid Namespace