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 之新位置的值。

適用於