public ScrollModeOptions(ScrollOrientationOptions parent, bool isLogical)
 {
   Parent = parent;
   IsLogical = isLogical;
   _scrollIncrementSelector = new ScrollIncrementSelector(this);
   _debouncing = GetDefaultDebouncing();
 }
 public ScrollModeOptions(ScrollOrientationOptions parent, bool isLogical)
 {
     Parent    = parent;
     IsLogical = isLogical;
     _scrollIncrementSelector = new ScrollIncrementSelector(this);
     _debouncing = GetDefaultDebouncing();
 }
 public AdaptationOptions(MouseWheelOptions parent)
 {
   Parent = parent;
   parent.PropertyChanged += OnParentPropertyChanged;
   _smoothing = GetDefaultSmoothing();
   _debouncing = GetDefaultDebouncing();
   _nestedMotion = GetDefaultNestedMotion();
 }
Exemple #4
0
 public ZoomOptions(MouseWheelOptions parent)
 {
   Parent = parent;
   parent.PropertyChanged += OnParentPropertyChanged;
   _motionSmoothing = GetDefaultSmoothing();
   _debouncing = GetDefaultDebouncing();
   _nestedZoom = GetDefaultNestedZoom();
 }
Exemple #5
0
 public ZoomOptions(MouseWheelOptions parent)
 {
     Parent = parent;
     parent.PropertyChanged += OnParentPropertyChanged;
     _motionSmoothing        = GetDefaultSmoothing();
     _debouncing             = GetDefaultDebouncing();
     _nestedZoom             = GetDefaultNestedZoom();
 }
 public AdaptationOptions(MouseWheelOptions parent)
 {
     Parent = parent;
     parent.PropertyChanged += OnParentPropertyChanged;
     _smoothing              = GetDefaultSmoothing();
     _debouncing             = GetDefaultDebouncing();
     _nestedMotion           = GetDefaultNestedMotion();
 }
Exemple #7
0
 private void   OnDebouncingChanged(object sender, EventArgs e)
 {
     Debouncing = MouseWheel.GetDebouncing(sender as DependencyObject);
 }
 private void   OnDebouncingYChanged(object sender, EventArgs e)
 {
     Debouncing = MouseWheel.GetLogicalVScrollDebouncing(sender as DependencyObject);
 }
 private void OnDebouncingChanged(object sender, EventArgs e) { Debouncing = MouseWheel.GetZoomDebouncing(sender as DependencyObject); }