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(); }
public ZoomOptions(MouseWheelOptions parent) { Parent = parent; parent.PropertyChanged += OnParentPropertyChanged; _motionSmoothing = GetDefaultSmoothing(); _debouncing = GetDefaultDebouncing(); _nestedZoom = GetDefaultNestedZoom(); }
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); }