diff --git a/LibScrollingOptimization/SmoothScrollingBehavior.cs b/LibScrollingOptimization/SmoothScrollingBehavior.cs index e49a1cb59..f73c99448 100644 --- a/LibScrollingOptimization/SmoothScrollingBehavior.cs +++ b/LibScrollingOptimization/SmoothScrollingBehavior.cs @@ -428,27 +428,27 @@ namespace LibScrollingOptimization /// </summary> public static readonly DependencyProperty ScrollWithWheelDeltaProperty = DependencyProperty.RegisterAttached(nameof(ScrollWithWheelDelta), typeof(bool), typeof(SmoothScrollingBehavior), - new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.Inherits)); + new FrameworkPropertyMetadata(true)); /// <summary> /// The DependencyProperty of <see cref="EnableScrollingAnimation"/> property. /// </summary> public static readonly DependencyProperty EnableScrollingAnimationProperty = DependencyProperty.RegisterAttached(nameof(EnableScrollingAnimation), typeof(bool), typeof(SmoothScrollingBehavior), - new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.Inherits)); + new FrameworkPropertyMetadata(true)); /// <summary> /// The DependencyProperty of <see cref="ScrollingAnimationDuration"/> property. /// </summary> public static readonly DependencyProperty ScrollingAnimationDurationProperty = DependencyProperty.RegisterAttached(nameof(ScrollingAnimationDuration), typeof(Duration), typeof(SmoothScrollingBehavior), - new FrameworkPropertyMetadata(new Duration(TimeSpan.FromMilliseconds(250)), FrameworkPropertyMetadataOptions.Inherits), ValidateScrollingAnimationDuration); + new FrameworkPropertyMetadata(new Duration(TimeSpan.FromMilliseconds(250))), ValidateScrollingAnimationDuration); /// <summary> /// The DependencyProperty of <see cref="AlwaysHandleMouseWheelScrolling"/> property /// </summary> public static readonly DependencyProperty AlwaysHandleMouseWheelScrollingProperty = - DependencyProperty.RegisterAttached(nameof(AlwaysHandleMouseWheelScrolling), typeof(bool), typeof(SmoothScrollingBehavior), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.Inherits)); + DependencyProperty.RegisterAttached(nameof(AlwaysHandleMouseWheelScrolling), typeof(bool), typeof(SmoothScrollingBehavior), new FrameworkPropertyMetadata(true)); /// <summary> /// The DependencyProperty of <see cref="MouseScrollDeltaFactor"/> property