Esempio n. 1
0
        private static void OnFixedSliderColorPropertyChanged(
            DependencyObject relatedObject, DependencyPropertyChangedEventArgs e)
        {
            ColorPickerControl colorPicker = relatedObject as ColorPickerControl;

            colorPicker.UpdateColorSlidersBackground();
        }
Esempio n. 2
0
        private static void OnSelectedColorPropertyChanged(
            DependencyObject relatedObject, DependencyPropertyChangedEventArgs e)
        {
            ColorPickerControl colorPicker = relatedObject as ColorPickerControl;

            colorPicker.OnSelectedColorPropertyChanged(e);
        }
Esempio n. 3
0
        private static void OnHsvControlSelectedColorChanged(object sender, RoutedPropertyChangedEventArgs <Color> e)
        {
            ColorPickerControl colorPicker = sender as ColorPickerControl;

            colorPicker.OnHsvControlSelectedColorChanged(e);
        }
Esempio n. 4
0
        private static void OnSliderValueChanged(object sender, RoutedPropertyChangedEventArgs <double> e)
        {
            ColorPickerControl colorPicker = sender as ColorPickerControl;

            colorPicker.OnSliderValueChanged(e);
        }