Example #1
0
        void OnSuggestionTapped(object sender, ItemTappedEventArgs e)
        {
            Searching.Focus();

            var item = e.Item as string;

            string[] words = Searching.Text.Split(' ');
            Searching.Text = "";
            for (int i = 0; i < words.Length - 1; i++)
            {
                Searching.Text += words[i] + ' ';
            }
            Searching.Text         += item;
            Suggestions.ItemsSource = null;
        }
Example #2
0
 protected override void OnAppearing()
 {
     base.OnAppearing();
     Searching.Focus();
 }