/// <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(); } }
private static void TextLabelValuesChanged(BindableObject obj, object oldValue, object newValue) { if (obj is AutoCompleteControl AutoCompleteControl) { AutoCompleteControl.listViewSuggestions.ItemTemplate = AutoCompleteControl.GetDataTemplate(); } }