maui-devexpress-dot-maui-dot-editors-37601545.md
A filter item that allows users to select a singe option from a list shown in a separate dialog.
Namespace : DevExpress.Maui.Editors
Assembly : DevExpress.Maui.Editors.dll
NuGet Package : DevExpress.Maui.Editors
[DXLicenseMAUI]
public class FilterRadioListPickerItem :
FilterListPickerItemBase
The image below shows a sample filter item with a radio-button list. Users can enter a search query in the search box to filter available options:
To use a FilterRadioListPickerItem in your filtering UI, bind its Context property to the data control’s FilteringContext (DataGridView.FilteringContext or DXCollectionView.FilteringContext). Then specify the FilterRadioListPickerItem’s FieldName property to set by which data source property values the data control should filter its items:
<ContentPage ...
xmlns:dxe="clr-namespace:DevExpress.Maui.Editors;assembly=DevExpress.Maui.Editors">
<!--...-->
<dxe:FilterRadioListPickerItem Context="{Binding}" FieldName="Status"/>
<!--...-->
</ContentPage>
FilterPage FilterPage => filterPage ??= new FilterPage() { BindingContext = dataControl.FilteringContext };
The FilterRadioListPickerItem shows its list of options on a separate page. As an alternative, use the FilterRadioListItem to show a radio-button list of available options on the same page. If you need users to select multiple options, consider using a FilterCheckedListItem or FilterCheckedListPickerItem.
To show radio buttons for items, set the ShowRadioButtons property to true.
You can also replace the default editor with a custom editor. To do so, specify the FilterRadioListPickerItem’s FilterModelTemplate property. Use the FilterRadioListPickerItem’s FilterModel property to obtain the binding context for the template.
Show 17 items
Microsoft.Maui.Controls.ITabStopElement
Microsoft.Maui.IFrameworkElement
Show 12 items
System.Object BindableObject Element NavigableElement VisualElement View Layout DevExpress.Maui.Editors.Internal.BaseFormItem FormItemBase FormPickerItemBase FilterListPickerItemBase FilterRadioListPickerItem
Yield<FilterRadioListPickerItem>()
YieldIfNotNull<FilterRadioListPickerItem>()
See Also