Browse Source

Remove 'Inherits' option of some SmoothScrollingBehavior properties

pull/3234/head
SlimeNull 11 months ago
parent
commit
757f705bde
  1. 8
      LibScrollingOptimization/SmoothScrollingBehavior.cs

8
LibScrollingOptimization/SmoothScrollingBehavior.cs

@ -428,27 +428,27 @@ namespace LibScrollingOptimization
/// </summary> /// </summary>
public static readonly DependencyProperty ScrollWithWheelDeltaProperty = public static readonly DependencyProperty ScrollWithWheelDeltaProperty =
DependencyProperty.RegisterAttached(nameof(ScrollWithWheelDelta), typeof(bool), typeof(SmoothScrollingBehavior), DependencyProperty.RegisterAttached(nameof(ScrollWithWheelDelta), typeof(bool), typeof(SmoothScrollingBehavior),
new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.Inherits)); new FrameworkPropertyMetadata(true));
/// <summary> /// <summary>
/// The DependencyProperty of <see cref="EnableScrollingAnimation"/> property. /// The DependencyProperty of <see cref="EnableScrollingAnimation"/> property.
/// </summary> /// </summary>
public static readonly DependencyProperty EnableScrollingAnimationProperty = public static readonly DependencyProperty EnableScrollingAnimationProperty =
DependencyProperty.RegisterAttached(nameof(EnableScrollingAnimation), typeof(bool), typeof(SmoothScrollingBehavior), DependencyProperty.RegisterAttached(nameof(EnableScrollingAnimation), typeof(bool), typeof(SmoothScrollingBehavior),
new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.Inherits)); new FrameworkPropertyMetadata(true));
/// <summary> /// <summary>
/// The DependencyProperty of <see cref="ScrollingAnimationDuration"/> property. /// The DependencyProperty of <see cref="ScrollingAnimationDuration"/> property.
/// </summary> /// </summary>
public static readonly DependencyProperty ScrollingAnimationDurationProperty = public static readonly DependencyProperty ScrollingAnimationDurationProperty =
DependencyProperty.RegisterAttached(nameof(ScrollingAnimationDuration), typeof(Duration), typeof(SmoothScrollingBehavior), 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> /// <summary>
/// The DependencyProperty of <see cref="AlwaysHandleMouseWheelScrolling"/> property /// The DependencyProperty of <see cref="AlwaysHandleMouseWheelScrolling"/> property
/// </summary> /// </summary>
public static readonly DependencyProperty AlwaysHandleMouseWheelScrollingProperty = 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> /// <summary>
/// The DependencyProperty of <see cref="MouseScrollDeltaFactor"/> property /// The DependencyProperty of <see cref="MouseScrollDeltaFactor"/> property

Loading…
Cancel
Save