Exemple #1
0
        protected static void OnValuePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            ZoomScroll obj = (ZoomScroll)d;

            obj.OnValueChanged();
        }
Exemple #2
0
        protected static object CoerceValueProperty(DependencyObject d, object value)
        {
            ZoomScroll obj = (ZoomScroll)d;

            return(obj.CoerceValue((double)value));
        }
 public void SetAndAnimateZoomValue(double value)
 {
     ZoomScroll.SetZoomValue(value, 0.5);
 }