Articles in this section

How to clear the Text in AutoComplete

You can clear the text inside the SfAutoComplete control by assigning the String.Empty or using the Clear() method in SfAutoComplete.

 

C#

 
public partial class MainPage : ContentPage
{
     public MainPage()
      {
          InitializeComponent();
          this.BindingContext = new EmployeeViewModel();
       }        void Handle_Clicked(object sender, System.EventArgs e)
        {
            autoComplete.Clear();
           // autoComplete.Text = String.Empty;
        }
} 
 
 

 

You can find the sample from this link : Sample

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied