ScrollEventArgs Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the ScrollEventArgs class.
Overloads
ScrollEventArgs(ScrollEventType, Int32) |
Initializes a new instance of the ScrollEventArgs class using the given values for the Type and NewValue properties. |
ScrollEventArgs(ScrollEventType, Int32, Int32) |
Initializes a new instance of the ScrollEventArgs class using the given values for the Type, OldValue, and NewValue properties. |
ScrollEventArgs(ScrollEventType, Int32, ScrollOrientation) |
Initializes a new instance of the ScrollEventArgs class using the given values for the Type, NewValue, and ScrollOrientation properties. |
ScrollEventArgs(ScrollEventType, Int32, Int32, ScrollOrientation) |
Initializes a new instance of the ScrollEventArgs class using the given values for the Type, OldValue, NewValue, and ScrollOrientation properties. |
ScrollEventArgs(ScrollEventType, Int32)
Initializes a new instance of the ScrollEventArgs class using the given values for the Type and NewValue properties.
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)
Parameters
- type
- ScrollEventType
One of the ScrollEventType values.
- newValue
- Int32
The new value for the scroll bar.
See also
Applies to
ScrollEventArgs(ScrollEventType, Int32, Int32)
Initializes a new instance of the ScrollEventArgs class using the given values for the Type, OldValue, and NewValue properties.
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)
Parameters
- type
- ScrollEventType
One of the ScrollEventType values.
- oldValue
- Int32
The old value for the scroll bar.
- newValue
- Int32
The new value for the scroll bar.
See also
Applies to
ScrollEventArgs(ScrollEventType, Int32, ScrollOrientation)
Initializes a new instance of the ScrollEventArgs class using the given values for the Type, NewValue, and ScrollOrientation properties.
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)
Parameters
- type
- ScrollEventType
One of the ScrollEventType values.
- newValue
- Int32
The new value for the scroll bar.
- scroll
- ScrollOrientation
One of the ScrollOrientation values.
See also
Applies to
ScrollEventArgs(ScrollEventType, Int32, Int32, ScrollOrientation)
Initializes a new instance of the ScrollEventArgs class using the given values for the Type, OldValue, NewValue, and ScrollOrientation properties.
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)
Parameters
- type
- ScrollEventType
One of the ScrollEventType values.
- oldValue
- Int32
The old value for the scroll bar.
- newValue
- Int32
The new value for the scroll bar.
- scroll
- ScrollOrientation
One of the ScrollOrientation values.
See also
Applies to
Povratne informacije
https://aka.ms/ContentUserFeedback.
Kmalu na voljo: V letu 2024 bomo ukinili storitev Težave v storitvi GitHub kot mehanizem za povratne informacije za vsebino in jo zamenjali z novim sistemom za povratne informacije. Za več informacij si oglejte:Pošlji in prikaži povratne informacije za