Skip to main content
A newer version of this page is available. .

TreeListView.CompactModeFilterElementMenuCustomizations Property

Allows you to customize a filter menu in compact mode.

Namespace: DevExpress.Xpf.Grid

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Grid.Core, DevExpress.Wpf.Grid.Core

Declaration

[Browsable(false)]
public BarManagerActionCollection CompactModeFilterElementMenuCustomizations { get; }

Property Value

Type Description
BarManagerActionCollection

A collection of bar actions to customize a filter menu.

Remarks

To show the filter menu, set the TreeListView.CompactFilterElementShowMode property to ContextMenu.

Example

The following example demonstrates how to add an item to the filter menu:

<dxg:TreeListView.CompactModeFilterElementMenuCustomizations>
    <dxb:BarCheckItem Name="checkItem1" Content="CheckedFE" IsChecked="True" dxb:BarItemLinkActionBase.ItemLinkIndex="0"/>
    <dxb:BarItemLinkSeparator dxb:BarItemLinkActionBase.ItemLinkIndex="1"/>
</dxg:TreeListView.CompactModeFilterElementMenuCustomizations>

Refer to the Context Menus topic for more information.

See Also