Exemplo n.º 1
0
        private static void XSliderBackgroundColorPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            XYSliders slider = (XYSliders)d;

            slider.Background      = (SolidColorBrush)e.NewValue;
            slider.Grid.Background = (SolidColorBrush)e.NewValue;
        }
Exemplo n.º 2
0
        private static void XSliderFontColorPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            XYSliders slider = (XYSliders)d;

            slider.LblXColorSpace.Foreground = (SolidColorBrush)e.NewValue;
            slider.LblYColorSpace.Foreground = (SolidColorBrush)e.NewValue;
        }