Back to Devexpress

TreeListView.CompactModeFilterElementMenuCustomizations Property

wpf-devexpress-dot-xpf-dot-grid-dot-treelistview-3e806dcd.md

latest2.1 KB
Original Source

TreeListView.CompactModeFilterElementMenuCustomizations Property

Allows you to customize a filter menu in compact mode.

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

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

Property Value

TypeDescription
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:

xaml
<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

Compact Mode

TreeListView Class

TreeListView Members

DevExpress.Xpf.Grid Namespace