Пример #1
0
        private static void BreadCrumbBarItemsSourceChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            // var Collection=((ActySystem.Telas.Wpf.Controls.DocumnetPanelEx1)(d)).BreadCrumbBarItemsSource;
            DevTabItemEx documentpanel            = d as DevTabItemEx;
            List <SystemMenuTreeList> itemsSource = e.NewValue as List <SystemMenuTreeList>;

            if (documentpanel != null && itemsSource != null)
            {
                documentpanel.childBreadItem.generateBread(itemsSource);
                documentpanel.CommonAreaPage            = HomeTitle;
                documentpanel.CommonAreaPageItemsSource = itemsSource;
                documentpanel.mainFrame.Navigate(new Uri(commonAreaPagePath), HomeTitle);
            }
        }
Пример #2
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;
        }