コード例 #1
0
        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;
        }
コード例 #2
0
        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;
        }
コード例 #3
0
 public ContentTabView(FabTabControl tabControl)
 {
     InitializeComponent();
     this.Loaded += new RoutedEventHandler(ContentTabView_Loaded);
     _tabControl = tabControl;
     _imageButtonFactory = new ImageButtonFactory(_tabControl, this);
     _toolTipBuilder = new ToolTipBuilder(_tabControl);
 }
コード例 #4
0
 public ContentTabView(FabTabControl tabControl)
 {
     InitializeComponent();
     this.Loaded        += new RoutedEventHandler(ContentTabView_Loaded);
     _tabControl         = tabControl;
     _imageButtonFactory = new ImageButtonFactory(_tabControl, this);
     _toolTipBuilder     = new ToolTipBuilder(_tabControl);
 }
コード例 #5
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.tabControl = ((FabTab.FabTabControl)(target));
         return;
     }
     this._contentLoaded = true;
 }
コード例 #6
0
ファイル: NoXamlWindow.xaml.cs プロジェクト: tablesmit/FabTab
        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);
        }
コード例 #7
0
        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;
        }
コード例 #8
0
        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;
        }
コード例 #9
0
 public ToolTipBuilder(FabTabControl tabControl)
 {
     _tabControl = tabControl;
 }
コード例 #10
0
 public ImageButtonFactory(FabTabControl tabControl, IContentTabView contentTabView)
 {
     _tabControl = tabControl;
     _contentTabView = contentTabView;
 }
コード例 #11
0
ファイル: ItemsStrategy.cs プロジェクト: ancgate/FabTab
 public ItemsStrategy(FabTabControl tabControl)
 {
     _tabControl = tabControl;
 }
コード例 #12
0
 public ExplorerControl(FabTabControl fabTab)
 {
     _fabTab = fabTab;
     InitializeComponent();
 }
コード例 #13
0
ファイル: ToolTipBuilder.cs プロジェクト: tablesmit/FabTab
 public ToolTipBuilder(FabTabControl tabControl)
 {
     _tabControl = tabControl;
 }
コード例 #14
0
 public ExplorerControl(FabTabControl fabTab)
 {
     _fabTab = fabTab;
     InitializeComponent();
 }
コード例 #15
0
        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;
        }
コード例 #16
0
 public ImageButtonFactory(FabTabControl tabControl, IContentTabView contentTabView)
 {
     _tabControl     = tabControl;
     _contentTabView = contentTabView;
 }
コード例 #17
0
ファイル: ItemsStrategy.cs プロジェクト: tablesmit/FabTab
 public ItemsStrategy(FabTabControl tabControl)
 {
     _tabControl = tabControl;
 }