Skip to main content
All docs
V22.1

ComboBoxEdit.EmptyFilterResultText Property

Gets or sets the text that is displayed in the ComboBoxEdit when its ComboBoxEdit.ItemsSource property does not contain items that match the filter string. This is a dependency property.

Namespace: DevExpress.XamarinForms.Editors

Assembly: DevExpress.XamarinForms.Editors.dll

NuGet Package: DevExpress.XamarinForms.Editors

Declaration

public string EmptyFilterResultText { get; set; }

Property Value

Type Description
String

The text that is displayed in the ComboBoxEdit.

Remarks

The EmptyFilterResultText property is in effect when the IsFilterEnabled property is true.

<ContentPage ...
    xmlns:dxco="clr-namespace:DevExpress.Maui.Controls;assembly=DevExpress.Maui.Controls"
    xmlns:dxe="clr-namespace:DevExpress.Maui.Editors;assembly=DevExpress.Maui.Editors">
    <ContentPage.Content>
        <dxe:ComboBoxEdit
            EmptyFilterResultText="No states match the specified filter"
            IsFilterEnabled="True"
            PlaceholderText="Select a state">
            <dxe:ComboBoxEdit.ItemsSource>
                <x:Array Type="{x:Type x:String}">
                    <x:String>Alabama</x:String>
                    <x:String>Alaska</x:String>
                    <!-- ... -->
                    <x:String>Wyoming</x:String>
                </x:Array>
            </dxe:ComboBoxEdit.ItemsSource>
        </dxe:ComboBoxEdit>
    </ContentPage.Content>
</ContentPage>

Combo Box Editor - Filter Text

See Also