Exemplo 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);
            }
        }
Exemplo 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);
            }
        }
Exemplo 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);
            }
        }
Exemplo 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);
            }
        }