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.v24.1.dll
NuGet Package: DevExpress.Wpf.Grid.Core
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | false | true, to select all filter values when the current filter is null; otherwise, false. |
Remarks
Set the SelectAllWhenFilterIsNull property to true to make the CheckedListFilterElement show all available filter values checked when a bound control has no applied filters.
<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