ItemsEditBase.NoResultsFoundText Property
Gets or sets the text that is displayed when the editor’s ItemSource inherited property does not contain items that match the filter string. This is a bindable property.
Namespace: DevExpress.Maui.Editors
Assembly: DevExpress.Maui.Editors.dll
NuGet Package: DevExpress.Maui.Editors
Declaration
public string NoResultsFoundText { get; set; }
Property Value
Type | Default | Description |
---|---|---|
String | No found | The text that is displayed when the editor’s source does not contain items that match the filter string. |
Remarks
You can use this property with the following editors:
The NoResultsFoundText
property is in effect when the editor’s IsFilterEnabled inherited 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
NoResultsFoundText="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>
See Also