ScrollEventArgs 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 ScrollEventArgs 類別的新執行個體。
多載
| 名稱 | Description |
|---|---|
| ScrollEventArgs(ScrollEventType, Int32) |
利用給定的 ScrollEventArgs 和 Type 屬性值初始化該NewValue類別的新實例。 |
| ScrollEventArgs(ScrollEventType, Int32, Int32) |
利用給定的 ScrollEventArgs、 Type、 及OldValue屬性值初始化該NewValue類別的新實例。 |
| ScrollEventArgs(ScrollEventType, Int32, ScrollOrientation) |
利用給定的 ScrollEventArgs、 Type、 及NewValue屬性值初始化該ScrollOrientation類別的新實例。 |
| ScrollEventArgs(ScrollEventType, Int32, Int32, ScrollOrientation) |
利用給定的 、 、 ScrollEventArgs及Type屬性值初始化類別的新OldValueNewValue實例。ScrollOrientation |
ScrollEventArgs(ScrollEventType, Int32)
利用給定的 ScrollEventArgs 和 Type 屬性值初始化該NewValue類別的新實例。
public:
ScrollEventArgs(System::Windows::Forms::ScrollEventType type, int newValue);
public ScrollEventArgs(System.Windows.Forms.ScrollEventType type, int newValue);
new System.Windows.Forms.ScrollEventArgs : System.Windows.Forms.ScrollEventType * int -> System.Windows.Forms.ScrollEventArgs
Public Sub New (type As ScrollEventType, newValue As Integer)
參數
- type
- ScrollEventType
這是其中一項 ScrollEventType 價值。
- newValue
- Int32
滾動條的新數值。
另請參閱
適用於
ScrollEventArgs(ScrollEventType, Int32, Int32)
利用給定的 ScrollEventArgs、 Type、 及OldValue屬性值初始化該NewValue類別的新實例。
public:
ScrollEventArgs(System::Windows::Forms::ScrollEventType type, int oldValue, int newValue);
public ScrollEventArgs(System.Windows.Forms.ScrollEventType type, int oldValue, int newValue);
new System.Windows.Forms.ScrollEventArgs : System.Windows.Forms.ScrollEventType * int * int -> System.Windows.Forms.ScrollEventArgs
Public Sub New (type As ScrollEventType, oldValue As Integer, newValue As Integer)
參數
- type
- ScrollEventType
這是其中一項 ScrollEventType 價值。
- oldValue
- Int32
舊的滾動條數值。
- newValue
- Int32
滾動條的新數值。
另請參閱
適用於
ScrollEventArgs(ScrollEventType, Int32, ScrollOrientation)
利用給定的 ScrollEventArgs、 Type、 及NewValue屬性值初始化該ScrollOrientation類別的新實例。
public:
ScrollEventArgs(System::Windows::Forms::ScrollEventType type, int newValue, System::Windows::Forms::ScrollOrientation scroll);
public ScrollEventArgs(System.Windows.Forms.ScrollEventType type, int newValue, System.Windows.Forms.ScrollOrientation scroll);
new System.Windows.Forms.ScrollEventArgs : System.Windows.Forms.ScrollEventType * int * System.Windows.Forms.ScrollOrientation -> System.Windows.Forms.ScrollEventArgs
Public Sub New (type As ScrollEventType, newValue As Integer, scroll As ScrollOrientation)
參數
- type
- ScrollEventType
這是其中一項 ScrollEventType 價值。
- newValue
- Int32
滾動條的新數值。
- scroll
- ScrollOrientation
這是其中一項 ScrollOrientation 價值。
另請參閱
適用於
ScrollEventArgs(ScrollEventType, Int32, Int32, ScrollOrientation)
利用給定的 、 、 ScrollEventArgs及Type屬性值初始化類別的新OldValueNewValue實例。ScrollOrientation
public:
ScrollEventArgs(System::Windows::Forms::ScrollEventType type, int oldValue, int newValue, System::Windows::Forms::ScrollOrientation scroll);
public ScrollEventArgs(System.Windows.Forms.ScrollEventType type, int oldValue, int newValue, System.Windows.Forms.ScrollOrientation scroll);
new System.Windows.Forms.ScrollEventArgs : System.Windows.Forms.ScrollEventType * int * int * System.Windows.Forms.ScrollOrientation -> System.Windows.Forms.ScrollEventArgs
Public Sub New (type As ScrollEventType, oldValue As Integer, newValue As Integer, scroll As ScrollOrientation)
參數
- type
- ScrollEventType
這是其中一項 ScrollEventType 價值。
- oldValue
- Int32
舊的滾動條數值。
- newValue
- Int32
滾動條的新數值。
- scroll
- ScrollOrientation
這是其中一項 ScrollOrientation 價值。