TreeListView.CompactModeSortElementMenuCustomizations Property
Allows you to customize a sort menu displayed in compact mode.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v19.1.dll
Declaration
[Browsable(false)]
public BarManagerActionCollection CompactModeSortElementMenuCustomizations { get; }
Property Value
Type | Description |
---|---|
BarManagerActionCollection | A BarManagerActionCollection object. |
Remarks
To learn more, see Customizing Context Menus in Context Menus.
Example
The following example demonstrates how to remove the “Show in Groups” item from the sort element menu:
<dxg:TreeListView.CompactModeSortElementMenuCustomizations>
<dxb:RemoveAction ElementName="{x:Static dxg:CompactModeColumnSelectorMenuItemNames.ShowInGroups}" />
</dxg:TreeListView.CompactModeSortElementMenuCustomizations>
See Also