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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기