Table of Contents

Class ScrollViewMouseDragBehavior

Namespace
HeBianGu.Base.WpfBase
Assembly
HeBianGu.Base.WpfBase.dll

ScrollViewer带有鼠标拖动和触摸拖动效果

public class ScrollViewMouseDragBehavior : Behavior<ScrollViewer>, IAnimatable, IAttachedObject
Inheritance
ScrollViewMouseDragBehavior
Implements
Inherited Members
Extension Methods

Fields

IsBottomedProperty

public static readonly DependencyProperty IsBottomedProperty

Field Value

DependencyProperty

IsToppedProperty

public static readonly DependencyProperty IsToppedProperty

Field Value

DependencyProperty

Properties

IsBottomed

是否到达底部

public bool IsBottomed { get; set; }

Property Value

bool

IsTopped

是否到达顶部

public bool IsTopped { get; set; }

Property Value

bool

Methods

IsVerticalScrollBarAtBottom(ScrollViewer)

public bool IsVerticalScrollBarAtBottom(ScrollViewer s)

Parameters

s ScrollViewer

Returns

bool

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.