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.v20.1.dll

Declaration

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

Property Value

Type Description
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:

<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