Inheritance: System.Windows.Controls.UserControl
        private static void OnTextBrushPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            RaisedText rtext = d as RaisedText;
            Brush      brush = e.NewValue as Brush;

            rtext.DisplayText.Foreground = brush;
        }
        private static void OnShadowOpacityPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            RaisedText       rtext   = d as RaisedText;
            double           opacity = (double)e.NewValue;
            DropShadowEffect effect  = rtext.DisplayText.Effect as DropShadowEffect;

            effect.Opacity = opacity;
        }
        private static void OnTextPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            RaisedText rtext = d as RaisedText;
            string     text  = (string)e.NewValue;

            rtext.DisplayText.Text     = text;
            rtext.DisplayTextBlur.Text = text;
        }
        private static void OnShadowBlurRadiusPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            RaisedText       rtext  = d as RaisedText;
            double           radius = (double)e.NewValue;
            DropShadowEffect effect = rtext.DisplayText.Effect as DropShadowEffect;

            effect.BlurRadius = radius;
        }
        private static void OnShadowDirectionPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            RaisedText       rtext     = d as RaisedText;
            double           direction = (double)e.NewValue;
            DropShadowEffect effect    = rtext.DisplayText.Effect as DropShadowEffect;

            effect.Direction = direction;
        }
        private static void OnTextWrappingPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            RaisedText   rtext = d as RaisedText;
            TextWrapping wrap  = (TextWrapping)e.NewValue;

            rtext.DisplayText.TextWrapping     = wrap;
            rtext.DisplayTextBlur.TextWrapping = wrap;
        }
        private static void OnShadowColorPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            RaisedText       rtext  = d as RaisedText;
            Color            color  = (Color)e.NewValue;
            DropShadowEffect effect = rtext.DisplayText.Effect as DropShadowEffect;

            effect.Color = color;
        }
        private static void OnTextAlignmentPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            RaisedText    rtext = d as RaisedText;
            TextAlignment align = (TextAlignment)e.NewValue;

            rtext.DisplayText.TextAlignment     = align;
            rtext.DisplayTextBlur.TextAlignment = align;
        }
        private static void OnTextWeightPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            RaisedText rtext  = d as RaisedText;
            FontWeight weight = (FontWeight)e.NewValue;

            rtext.DisplayText.FontWeight     = weight;
            rtext.DisplayTextBlur.FontWeight = weight;
        }
        private static void OnTextStylePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            RaisedText rtext = d as RaisedText;
            FontStyle  style = (FontStyle)e.NewValue;

            rtext.DisplayText.FontStyle     = style;
            rtext.DisplayTextBlur.FontStyle = style;
        }
        private static void OnTextFamilyPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            RaisedText rtext = d as RaisedText;
            FontFamily font  = (FontFamily)e.NewValue;

            rtext.DisplayText.FontFamily     = font;
            rtext.DisplayTextBlur.FontFamily = font;
        }
        private static void OnTextSizePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            RaisedText rtext = d as RaisedText;

            if (!double.IsNaN((double)e.NewValue))
            {
                double size = (double)e.NewValue;
                rtext.DisplayText.FontSize     = size;
                rtext.DisplayTextBlur.FontSize = size;
            }
        }