public ButtonsProperties(NumericUpDownTextBox textBox) { parent = textBox; }
private static void ButtonPropertyChangedCallback(DependencyObject d, DependencyPropertyChangedEventArgs e) { NumericUpDownTextBox target = (NumericUpDownTextBox)d; target.ButtonsViewModel.NotifyPropertyChanged(e.Property.ToString()); }