/// <summary>
        /// Sub function of content loading
        /// </summary>
        /// <param name="content">The content.</param>
        /// <param name="AnimationShown">if set to <c>true</c> </param>
        /// <param name="story">The StoryBoard</param>
        /// <returns></returns>
        private bool LoadContentSub(ModernContent content, out bool AnimationShown, Storyboard story)
        {
            AnimationShown = false;
            if (content.IsDetachable)
            {
                this.IsContentDetachable = true;
                if (DetachedContent.ContainsValue(content))
                {
                    this.IsContentDetached = true;
                    this.Content           = contentDetached;
                    return(true);
                }
                else
                {
                    this.IsContentDetached = false;
                }
            }
            else
            {
                this.IsContentDetachable = false;
                this.IsContentDetached   = false;
            }
            this.Content     = content;
            this.CommandArea = content.CommandArea;

            if (content.StatusBar != null)
            {
                nextStatusBar = content.StatusBar;
            }
            else
            {
                nextStatusBar = this.DefaultStatusBar;
            }
            if (this.StatusBar != nextStatusBar)
            {
                if (this.StatusBar == null)
                {
                    this.StatusBar = nextStatusBar;
                    if (this.StatusBar != null)
                    {
                        this.StatusBar.BeginStoryboard(ShowStatusbarStoryboard);
                        System.Diagnostics.Debug.WriteLine("BeginStoryboard Show line 79");
                    }
                }
                else
                {
                    this.StatusBar.BeginStoryboard(HideStatusbarStoryboard);
                    System.Diagnostics.Debug.WriteLine("BeginStoryboard Hide line 85");
                }
            }

            content.BeginStoryboard(story);
            AnimationShown = true;
            System.Diagnostics.Debug.WriteLine("BeginStoryboard Show content");
            return(false);
        }