Inheritance: System.Windows.Controls.ComboBox
Example #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;
        }
Example #2
0
 public EditComboBox()
 {
     DefaultStyleKey = typeof(EditComboBox);
     editComboBox = this;
 }
Example #3
0
 public EditComboBox()
 {
     DefaultStyleKey = typeof(EditComboBox);
     editComboBox    = this;
 }