void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.myTab = ((FabTab.FabTabControl)(target)); return; case 2: #line 30 "..\..\SwitchCollectionsWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 3: #line 31 "..\..\SwitchCollectionsWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 309 "..\..\CancelCloseEventWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 2: this.mySplitTabControl = ((FabTab.FabTabControl)(target)); return; case 3: this.myConcreteTabItem = ((FabTab.FabTabItem)(target)); #line 328 "..\..\CancelCloseEventWindow.xaml" this.myConcreteTabItem.TabClosing += new System.Windows.RoutedEventHandler(this.ClosableTabItem_TabClosing); #line default #line hidden return; } this._contentLoaded = true; }
public ContentTabView(FabTabControl tabControl) { InitializeComponent(); this.Loaded += new RoutedEventHandler(ContentTabView_Loaded); _tabControl = tabControl; _imageButtonFactory = new ImageButtonFactory(_tabControl, this); _toolTipBuilder = new ToolTipBuilder(_tabControl); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.tabControl = ((FabTab.FabTabControl)(target)); return; } this._contentLoaded = true; }
void NoXamlWindow_Loaded(object sender, RoutedEventArgs e) { myTabControl = new FabTabControl(); FabTabItem tab1 = new FabTabItem(); tab1.Content = new SampleView(); tab1.Header = "Tab 1"; FabTabItem tab2 = new FabTabItem(); tab2.Content = new SampleView(); tab2.Header = "Tab 2"; myTabControl.Items.Add(tab1); myTabControl.Items.Add(tab2); grid.Children.Add(myTabControl); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.NavigationBar = ((Odyssey.Controls.OutlookBar)(target)); return; case 2: this.tabControl = ((FabTab.FabTabControl)(target)); return; case 3: this.Tab1 = ((Framework.devControls.DevTabItemEx)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 26 "..\..\SimpleClosableTabWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 2: this.tabControl = ((FabTab.FabTabControl)(target)); return; } this._contentLoaded = true; }
public ToolTipBuilder(FabTabControl tabControl) { _tabControl = tabControl; }
public ImageButtonFactory(FabTabControl tabControl, IContentTabView contentTabView) { _tabControl = tabControl; _contentTabView = contentTabView; }
public ItemsStrategy(FabTabControl tabControl) { _tabControl = tabControl; }
public ExplorerControl(FabTabControl fabTab) { _fabTab = fabTab; InitializeComponent(); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 34 "..\..\TabItemsWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 2: #line 35 "..\..\TabItemsWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1); #line default #line hidden return; case 3: #line 36 "..\..\TabItemsWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2); #line default #line hidden return; case 4: #line 37 "..\..\TabItemsWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_3); #line default #line hidden return; case 5: #line 38 "..\..\TabItemsWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_4); #line default #line hidden return; case 6: #line 39 "..\..\TabItemsWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_5); #line default #line hidden return; case 7: #line 40 "..\..\TabItemsWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_6); #line default #line hidden return; case 8: #line 41 "..\..\TabItemsWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_7); #line default #line hidden return; case 9: this.tabControl = ((FabTab.FabTabControl)(target)); return; } this._contentLoaded = true; }