How to Hide the No Result Message in the AutoComplete for .NET MAUI
Environment
Version | Product | Author |
---|---|---|
6.7.0 | Telerik UI for .NET MAUI ComboBox | Dobrinka Yordanova |
Description
I want to hide the No result message window in the AutoComplete control for .NET MAUI when the entered email has not been saved in the system.
Solution
To hide the No results message when there is nothing to show:
1. Set the NoResultsMessage
property to an empty string.
<telerik:RadAutoComplete x:Name="autoComplete" NoResultsMessage=" " ... />
<telerik:RadAutoComplete x:Name="autoComplete" SuggestionViewBackgroundColor="Transparent" ... />
3. Set the SuggestionViewBorderColor
property to a transparent color.
<telerik:RadAutoComplete x:Name="autoComplete" SuggestionViewBorderColor="Transparent" ... />
4. Set the SuggestionViewBorderThickness
property to 0
.
<telerik:RadAutoComplete x:Name="autoComplete" SuggestionViewBorderThickness="0" ... />
5. Set the SuggestionViewHeight
property to 0
.
<telerik:RadAutoComplete x:Name="autoComplete" SuggestionViewHeight="0" ... />
Note: Make sure to adjust the property values according to your specific implementation.