Beispiel #1
0
 private void InitializeThumbnail()
 {
     if (ThumbnailGenerator.IsDrawingThumbnail)
     {
         Content = new GlowTextCustomControl()
         {
             Text = "Glow",
             GlowAmount = 30,
             GlowColor = Colors.Yellow,
             TextColor = Colors.White,
             HorizontalAlignment = HorizontalAlignment.Center,
             VerticalAlignment = VerticalAlignment.Center
         };
     }
 }
 private void InitializeThumbnail()
 {
     if (ThumbnailGenerator.IsDrawingThumbnail)
     {
         Content = new GlowTextCustomControl()
         {
             Text                = "Glow",
             GlowAmount          = 30,
             GlowColor           = Colors.Yellow,
             TextColor           = Colors.White,
             HorizontalAlignment = HorizontalAlignment.Center,
             VerticalAlignment   = VerticalAlignment.Center
         };
     }
 }
Beispiel #3
0
        public CustomControlExample()
        {
            this.InitializeComponent();

            if (ThumbnailGenerator.IsDrawingThumbnail)
            {
                Content = new GlowTextCustomControl()
                {
                    Text                = "Glow",
                    GlowAmount          = 30,
                    GlowColor           = Colors.Yellow,
                    TextColor           = Colors.White,
                    HorizontalAlignment = HorizontalAlignment.Center,
                    VerticalAlignment   = VerticalAlignment.Center
                };
            }
        }
        public CustomControlExample()
        {
            this.InitializeComponent();

            if (ThumbnailGenerator.IsDrawingThumbnail)
            {
                Content = new GlowTextCustomControl()
                {
                    Text = "Glow",
                    GlowAmount = 30,
                    GlowColor = Colors.Yellow,
                    TextColor = Colors.White,
                    HorizontalAlignment = HorizontalAlignment.Center,
                    VerticalAlignment = VerticalAlignment.Center
                };
            }
        }