public override FrameworkElement Draw(int pageNr)
        {
            var themeManager   = JabberPoint.Domain.Themes.Themes.GetSingleton();
            var levelBehaviour = this.Parent.GetBehaviour <ILevelledBehaviour>();
            var style          = themeManager.GetStyle(pageNr, levelBehaviour.Level);

            return(new System.Windows.Controls.TextBlock()
            {
                Text = Slideshow.ReplaceTextWithMetaData(Text).Replace("[PageNr]", pageNr.ToString()),
                FontSize = style.FontSize,
                FontFamily = new System.Windows.Media.FontFamily(style.Font),
                FontStyle = style.FontStyle.HasFlag(JabberPoint.Domain.Helpers.FontStyle.Italic) ? FontStyles.Italic : FontStyles.Normal,
                FontWeight = style.FontWeight.HasFlag(JabberPoint.Domain.Helpers.FontWeight.Bold) ? FontWeights.Bold : FontWeights.Normal,
                Foreground = (SolidColorBrush)(new BrushConverter().ConvertFrom(style.FontColor))
            });
        }