Welcome to the Xamarin.Forms feedback portal. We’re happy you’re here! If you have feedback on how to improve the Xamarin.Forms, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

The naming conventions on the SfAutoComplete Control do not follow English naming conventions.

"AddedItems" in SfAutoComplete.XForms.SelectionChangedEventArgs is always one single string, but the "SelectedItem" property of the control returns an array of items.


AddedItems should be changed to AddedItem, and SelectedItem should be changed to SelectedItems. 


See the code below for the existing issue:


        private void autoCompleteControl_SelectionChanged(object sender, Syncfusion.SfAutoComplete.XForms.SelectionChangedEventArgs e)
        {
            var items = e.AddedItems as List<string>; //AddedItems is one single string

            var s = autoCompleteControl.SelectedItem as string; //SelectedItem is an array

            Debug.WriteLine("Here are the items in the auto complete view:");
            foreach(var i in items)
            {
                Debug.WriteLine(i);
            }
        }

Thank you, have a great day.