Inheritance: System.Windows.Controls.Control
示例#1
0
        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;
 }
示例#3
0
 public SuggestionsAdapter(AutoCompleteTextBox actb)
 {
     _actb = actb;
 }