void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ribbon = ((CODE.Framework.Wpf.Mvvm.ViewActionRibbon)(target));
                return;

            case 2:
                this.toolbar = ((CODE.Framework.Wpf.Mvvm.RibbonPageAsToolbar)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.menu = ((CODE.Framework.Wpf.Mvvm.ViewActionMenu)(target));
                return;

            case 2:
                this.ribbon = ((CODE.Framework.Wpf.Mvvm.ViewActionRibbon)(target));
                return;

            case 3:
                this.button = ((CODE.Framework.Wpf.Mvvm.ViewActionMenuButton)(target));
                return;
            }
            this._contentLoaded = true;
        }