private void OnShowBook(object sender, ExecutedRoutedEventArgs e) { var bookUI = new BookUC(); bookUI.DataContext = new Book { Title = "Professional C# 5.0 and .NET 4.5.1", Publisher = "Wrox Press", Isbn = "978-0-470-50225-9" }; this.tabControl1.SelectedIndex = this.tabControl1.Items.Add(new TabItem { Header = "Book", Content = bookUI }); }