Beispiel #1
0
        public RepeatNode(RepeatNodeViewModel vm)
        {
            DataContext = _vm = new RepeatNodeViewModel {
                DelayAfter       = vm.DelayAfter,
                DelayBefore      = vm.DelayBefore,
                RepeatCount      = vm.RepeatCount,
                SelectedNodeType = vm.SelectedNodeType,
                SelectedNode     = (INode?)vm.SelectedNode?.Clone(),
            };

            InitializeComponent();
        }
Beispiel #2
0
 public RepeatNode()
 {
     DataContext = _vm = new RepeatNodeViewModel();
     InitializeComponent();
 }