CheckedListFilterElement.SelectAllWhenFilterIsNull Property

Gets or sets whether to select all filter values when the current filter is null.

Namespace: DevExpress.Xpf.Core.FilteringUI

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


public bool SelectAllWhenFilterIsNull { get; set; }
Public Property SelectAllWhenFilterIsNull As Boolean

Property Value

Type Default Description


true, to select all filter values when the current filter is null; otherwise, false.


Set the SelectAllWhenFilterIsNull property to true to make the CheckedListFilterElement show all available filter values checked when a bound control has no applied filters.


Demo: Checked List

Requires a WPF Subscription. Download

<dxfui:CheckedListFilterElement x:Name="filterElement" FieldName="Country"
                                Context="{Binding ElementName=grid, Path=FilteringContext}" />
<CheckBox IsChecked="{Binding ElementName=filterElement, Path=SelectAllWhenFilterIsNull}"
          Content="Select All When Filter Is Null" />
<CheckBox IsChecked="{Binding ElementName=filterElement, Path=ShowCounts}"
          Content="Show Counts" /> 
See Also