public TextBoxFile() : base() { //Loaded += TextBoxFile_Loaded; CmdOpenFile = new SupRelayCommand(new Action(onOpenFile)); //TextChanged += (object sender, TextChangedEventArgs e) => { // if (e.OriginalSource != this) { // e.Handled = true; // } //}; }
public TextBoxCheckbox() : base() { //Loaded +=TextBoxCheckbox_Loaded; CmdChecked = new SupRelayCommand(new Action(onChecked)); CmdUnchecked = new SupRelayCommand(new Action(onUnchecked)); }