void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.OverlayBackground = ((System.Windows.Controls.Border)(target));
                return;

            case 2:
                this.OverlayLayout = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.FormLayout = ((System.Windows.Controls.Border)(target));
                return;

            case 4:
                this.TitleLayout = ((System.Windows.Controls.Border)(target));
                return;

            case 5:
                this.InputLayout = ((System.Windows.Controls.Border)(target));
                return;

            case 6:
                this.IdentifierBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.ControlLayout = ((System.Windows.Controls.Border)(target));
                return;

            case 8:
                this.ConnectingLayout = ((System.Windows.Controls.Border)(target));
                return;

            case 9:
                this.Loading = ((Inse.Fiproject.Wpf.Controls.LoadingAnimation)(target));
                return;
            }
            this._contentLoaded = true;
        }
Beispiel #2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="dependencyObject"></param>
        /// <param name="args"></param>
        private static void OnIsActivePropertyChanged(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs args)
        {
            LoadingAnimation loadingAnimation = dependencyObject as LoadingAnimation;

            loadingAnimation.GoToCurrentState(true);
        }