public MouseWheelOptions() { MouseWheel.NewWheel += (sender, e) => _mouseWheels.Add(sender as MouseWheel); _scrollOptions = new ScrollOptions(this); _zoomOptions = new ZoomOptions(this); _adaptationOptions = new AdaptationOptions(this); }
public ScrollOrientationOptions(ScrollOptions parent, Orientation orientation) { Parent = parent; Parent.PropertyChanged += OnParentPropertyChanged; Orientation = orientation; _scrollMode = GetDefaultScrollMode(); _motionSmoothing = GetDefaultSmoothing(); _nestedScroll = GetDefaultNestedScroll(); _logicalOptions = new ScrollModeOptions(this, true); _physicalOptions = new ScrollModeOptions(this, false); }