Esempio n. 1
0
        private static void OnOrientationChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            EditSlider control = o as EditSlider;

            if (control != null)
            {
                control.OnOrientationChanged((Orientation)e.OldValue, (Orientation)e.NewValue);
            }
        }
Esempio n. 2
0
        private static void OnMaximumChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            EditSlider control = o as EditSlider;

            if (control != null)
            {
                control.OnMaximumChanged((double)e.OldValue, (double)e.NewValue);
            }
        }
Esempio n. 3
0
        private static object OnCoerceMaximum(DependencyObject o, object value)
        {
            EditSlider control = o as EditSlider;

            if (control != null)
            {
                return(control.OnCoerceMaximum((double)value));
            }
            else
            {
                return(value);
            }
        }
Esempio n. 4
0
        private static void OnValueChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            EditSlider control = o as EditSlider;

            if (control != null)
            {
                control.OnValueChanged((double)e.OldValue, (double)e.NewValue);
            }
            DependencyPropertyChangedEventHandler temp = control.ValueChanged;

            if (temp != null)
            {
                temp(o, e);
            }
        }