Beispiel #1
0
        private static void HexadecimalStringChanged(DependencyObject d,
                                                     DependencyPropertyChangedEventArgs e)
        {
            ColorPickerUC c = (ColorPickerUC)d;

            c.OnHexadecimalStringChanged((string)e.OldValue, (string)e.NewValue);
        }
Beispiel #2
0
        private static void selectedColor_changed(DependencyObject d,
                                                  DependencyPropertyChangedEventArgs e)
        {
            ColorPickerUC cPicker = (ColorPickerUC)d;

            cPicker.OnSelectedColorChanged((Color)e.OldValue, (Color)e.NewValue);
        }
Beispiel #3
0
        private static void ScBChanged(DependencyObject d,
                                       DependencyPropertyChangedEventArgs e)
        {
            ColorPickerUC c = (ColorPickerUC)d;

            c.OnScBChanged((float)e.NewValue);
        }