Inheritance: System.Windows.Controls.ComboBox
Exemple #1
0
        private static void OnValueChanged(DependencyObject dp, DependencyPropertyChangedEventArgs args)
        {
            string str = "";

            if (args.NewValue != null)
            {
                str = args.NewValue.ToString();
            }
            EditComboBox ec = dp as EditComboBox;

            ec.Value = str;
            ec._TextBoxInput.Text = str;
        }
Exemple #2
0
 public EditComboBox()
 {
     DefaultStyleKey = typeof(EditComboBox);
     editComboBox = this;
 }
Exemple #3
0
 public EditComboBox()
 {
     DefaultStyleKey = typeof(EditComboBox);
     editComboBox    = this;
 }