public MouseNode(MouseNodeViewModel vm) { DataContext = _vm = new MouseNodeViewModel { DelayAfter = vm.DelayAfter, DelayBefore = vm.DelayBefore, Key = vm.Key, InputType = vm.InputType, }; InitializeComponent(); }
public MouseNode() { DataContext = _vm = new MouseNodeViewModel(); InitializeComponent(); }