Exemple #1
0
        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));
        }
Exemple #2
0
 public TabView()
 {
     InitializeComponent();
     DataContext = new TabViewModel();
 }