Back to Devexpress

TableView.CompactModeFilterMergeElementMenuCustomizations Property

wpf-devexpress-dot-xpf-dot-grid-dot-tableview-f97c3bf8.md

latest2.2 KB
Original Source

TableView.CompactModeFilterMergeElementMenuCustomizations Property

Allows you to customize a filter menu with sort items 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 CompactModeFilterMergeElementMenuCustomizations { get; }
vb
<Browsable(False)>
Public ReadOnly Property CompactModeFilterMergeElementMenuCustomizations As BarManagerActionCollection

Property Value

TypeDescription
BarManagerActionCollection

A collection of bar actions to customize a filter menu with sort items.

|

Remarks

To show the filter menu with sort items, set the TableView.CompactFilterElementShowMode property to ContextMenuWithSorting.

Example

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

xaml
<dxg:TableView.CompactModeFilterMergeElementMenuCustomizations>
    <dxb:BarCheckItem Name="checkItem" Content="CheckedFME" IsChecked="True" dxb:BarItemLinkActionBase.ItemLinkIndex="0"/>
    <dxb:BarItemLinkSeparator dxb:BarItemLinkActionBase.ItemLinkIndex="1"/>
</dxg:TableView.CompactModeFilterMergeElementMenuCustomizations>

Refer to the Context Menus topic for more information.

See Also

Compact Mode

TableView Class

TableView Members

DevExpress.Xpf.Grid Namespace