public WorkArea() { InitializeComponent(); DataContext = new WorkAreaVM(); //Dispatcher.BeginInvoke(DispatcherPriority.DataBind, // new Action(delegate () { // var dataContext = new WorkAreaVM(); // DataContext = dataContext; // SideListVM.WorkAreaVM = dataContext; // })); }
private void DoCreateTab() { WorkAreaVM.AddTabWithCases(Cases); SideListWidth = 0; }