private void OnGoBack(object parameter)
        {
            ProcessAutomationViewModel VM = this.DataContext as ProcessAutomationViewModel;

            VM.GoBack        = null;
            this.DataContext = null;
        }
Ejemplo n.º 2
0
        public WorkFlowEditorDemo()
        {
            InitializeComponent();
            this.Template = this.Resources["ChromelessWindowTemplate"] as ControlTemplate;
            //DataContext for syncfusion.workfloweditor.wpf
            ProcessAutomationViewModel VM = new ProcessAutomationViewModel();

            VM.GoBack        = new DelegateCommand <object>(OnGoBack);
            this.DataContext = VM;
        }