Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RadioListFilterElement Class

A radio list filter element that allows a user to select one filter value from a set.

Namespace: DevExpress.Xpf.Core.FilteringUI

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

NuGet Package: DevExpress.Wpf.Grid.Core

#Declaration

public class RadioListFilterElement :
    FilterElement

#Remarks

Tip

Topic: Filter Elements

#Overview

Run Demo: Radio List

The image below shows a radio list filter element:

<dxg:GridControl x:Name="grid" ... />
<!-- ... -->
<dxfui:RadioListFilterElement Context="{Binding FilteringContext, ElementName=grid}" FieldName="Doors" /> 

#FilterModelTemplate Property

Use the FilterElement.FilterModelTemplate property to specify the filter element template.

Tip

Data Context (Binding Source): RadioListFilterModel

#ShowCounts Property

The RadioListFilterElement shows the record count next to filter values:

Set the FilterElement.ShowCounts property to false to not show counts.

See Also