Class MouseGestureScrollViewerBehavior
public class MouseGestureScrollViewerBehavior : Behavior<ScrollViewer>, IAnimatable, IAttachedObject
- Inheritance
-
MouseGestureScrollViewerBehavior
- Implements
- Derived
- Inherited Members
- Extension Methods
Fields
EnableInertiaProperty
Backing storage for EnableInertia property
public static readonly DependencyProperty EnableInertiaProperty
Field Value
EnablePageSwipeProperty
Backing storage for EnablePageSwipe property
public static readonly DependencyProperty EnablePageSwipeProperty
Field Value
Properties
ChangeButton
public MouseButton ChangeButton { get; set; }
Property Value
EnableInertia
启用惯性
public bool EnableInertia { get; set; }
Property Value
EnablePageSwipe
True to not perform pixel movement, but instead move enter page at a time. 按页移动
public bool EnablePageSwipe { get; set; }
Property Value
Methods
OnAttached()
Called after the behavior is attached to an AssociatedObject.
protected override void OnAttached()
Remarks
Override this to hook up functionality to the AssociatedObject.
OnDetaching()
Called when the behavior is being detached from its AssociatedObject, but before it has actually occurred.
protected override void OnDetaching()
Remarks
Override this to unhook functionality from the AssociatedObject.