Esempio n. 1
0
 /// <summary>
 /// Searches the background color changed.
 /// </summary>
 /// <param name="obj">The object.</param>
 /// <param name="oldValue">The old value.</param>
 /// <param name="newValue">The new value.</param>
 private static void TextDescriptionPropertyChanged(BindableObject obj, string oldValue, string newValue)
 {
     if (obj is AutoCompleteControl AutoCompleteControl)
     {
         AutoCompleteControl.listViewSuggestions.ItemTemplate = AutoCompleteControl.GetDataTemplate();
     }
 }
Esempio n. 2
0
 private static void TextLabelValuesChanged(BindableObject obj, object oldValue, object newValue)
 {
     if (obj is AutoCompleteControl AutoCompleteControl)
     {
         AutoCompleteControl.listViewSuggestions.ItemTemplate = AutoCompleteControl.GetDataTemplate();
     }
 }