Пример #1
0
 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();
 }
Пример #3
0
 public AdaptationOptions(MouseWheelOptions parent)
 {
   Parent = parent;
   parent.PropertyChanged += OnParentPropertyChanged;
   _smoothing = GetDefaultSmoothing();
   _debouncing = GetDefaultDebouncing();
   _nestedMotion = GetDefaultNestedMotion();
 }
Пример #4
0
 public ZoomOptions(MouseWheelOptions parent)
 {
   Parent = parent;
   parent.PropertyChanged += OnParentPropertyChanged;
   _motionSmoothing = GetDefaultSmoothing();
   _debouncing = GetDefaultDebouncing();
   _nestedZoom = GetDefaultNestedZoom();
 }
Пример #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();
 }
Пример #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);
 }
Пример #9
0
 private void OnDebouncingChanged(object sender, EventArgs e) { Debouncing = MouseWheel.GetZoomDebouncing(sender as DependencyObject); }