public static void OnSelectedItemChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { AutoCompleteTextBox act = null; act = d as AutoCompleteTextBox; if (act != null) { if (act.Editor != null & !act._isUpdatingText) { act._isUpdatingText = true; act.Editor.Text = act.BindingEvaluator.Evaluate(e.NewValue); act._isUpdatingText = false; } } }
public SuggestionsAdapter(AutoCompleteTextBox actb) { _actb = actb; }