private static void OnOrientationChanged(DependencyObject o, DependencyPropertyChangedEventArgs e) { EditSlider control = o as EditSlider; if (control != null) { control.OnOrientationChanged((Orientation)e.OldValue, (Orientation)e.NewValue); } }
private static void OnMaximumChanged(DependencyObject o, DependencyPropertyChangedEventArgs e) { EditSlider control = o as EditSlider; if (control != null) { control.OnMaximumChanged((double)e.OldValue, (double)e.NewValue); } }
private static object OnCoerceMaximum(DependencyObject o, object value) { EditSlider control = o as EditSlider; if (control != null) { return(control.OnCoerceMaximum((double)value)); } else { return(value); } }
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); } }