语言

ScrollEventArgs(ScrollEventType, Double) 构造函数

定义

使用指定的ScrollEventArgs枚举值和控件在新ScrollEventType位置初始化类的Thumb实例ScrollBar。

public:
 ScrollEventArgs(System::Windows::Controls::Primitives::ScrollEventType scrollEventType, double newValue);
public ScrollEventArgs(System.Windows.Controls.Primitives.ScrollEventType scrollEventType, double newValue);
new System.Windows.Controls.Primitives.ScrollEventArgs : System.Windows.Controls.Primitives.ScrollEventType * double -> System.Windows.Controls.Primitives.ScrollEventArgs
Public Sub New (scrollEventType As ScrollEventType, newValue As Double)

参数

scrollEventType
ScrollEventType

一个 ScrollEventType 枚举值,该值描述导致事件的移动类型 Thumb 。

newValue
Double

对应于中Thumb新位置ScrollBar的值。

适用于