語言

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

對應於 在 中新ThumbScrollBar位置的值。

適用於