ScrollEventArgs(ScrollEventType, Double) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
透過使用指定的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 。