FilterElement.ShowCounts Property
Gets or sets whether the Filter Element shows the record count next to filter values.
Namespace: DevExpress.Xpf.Core.FilteringUI
Assembly: DevExpress.Xpf.Grid.v24.2.dll
NuGet Package: DevExpress.Wpf.Grid.Core
Declaration
Property Value
Type | Description |
---|---|
Nullable<Boolean> | true, to show counts; otherwise, false. |
Remarks
The Filter Element shows the record count next to filter values:
Set the ShowCounts property to false to not show counts.
<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