public INewTabHost<Window> GetNewHost(IInterTabClient interTabClient, object partition, TabablzControl source) { var view = new MainWindow(); var model = new MainWindowViewModel(); view.DataContext = model; return new NewTabHost<Window>(view, view.InitialTabablzControl); }
public static MainWindowViewModel CreateWithSamples() { var result = new MainWindowViewModel(); result.TabContents.Add(new TabContent("Introduction", new IntroductionPage())); result.TabContents.Add(new TabContent("Introduction", new IntroductionPage())); return result; }