public INewTabHost <Window> GetNewHost(IInterTabClient interTabClient, object partition, TabablzControl source) { var view = new MainWindow(); var model = new TabViewModel(); view.DataContext = model; return(new NewTabHost <Window>(view, view.InitialTabablzControl.InitialTabablzControl)); }
public TabView() { InitializeComponent(); DataContext = new TabViewModel(); }