Class ScrollViewMouseDragBehavior
ScrollViewer带有鼠标拖动和触摸拖动效果
public class ScrollViewMouseDragBehavior : Behavior<ScrollViewer>, IAnimatable, IAttachedObject
- Inheritance
-
ScrollViewMouseDragBehavior
- Implements
- Inherited Members
- Extension Methods
Fields
IsBottomedProperty
public static readonly DependencyProperty IsBottomedProperty
Field Value
IsToppedProperty
public static readonly DependencyProperty IsToppedProperty
Field Value
Properties
IsBottomed
是否到达底部
public bool IsBottomed { get; set; }
Property Value
IsTopped
是否到达顶部
public bool IsTopped { get; set; }
Property Value
Methods
IsVerticalScrollBarAtBottom(ScrollViewer)
public bool IsVerticalScrollBarAtBottom(ScrollViewer s)
Parameters
Returns
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.