private void ColorPicker_ColorChanged(XamlIslands.ColorPicker sender, XamlIslands.ColorChangedEventArgs args)
 {
     uwpColorPicker = Color.FromArgb(args.NewColor.A, args.NewColor.R, args.NewColor.G, args.NewColor.B);
 }
Esempio n. 2
0
        private void ColorPicker_ColorChanged(Windows.UI.Xaml.Controls.ColorPicker sender, Windows.UI.Xaml.Controls.ColorChangedEventArgs args)
        {
            var cor = Color.FromArgb(args.NewColor.A, args.NewColor.R, args.NewColor.G, args.NewColor.B);

            RectExemplo.Fill = new SolidColorBrush(cor);
        }