ScrollEventArgs 构造函数

定义

初始化 ScrollEventArgs 类的新实例。

重载

名称 说明
ScrollEventArgs(ScrollEventType, Int32)

使用给定的值ScrollEventArgs初始化类的新实例TypeNewValue属性。

ScrollEventArgs(ScrollEventType, Int32, Int32)

使用给定值ScrollEventArgsTypeOldValue属性初始化类的新实例NewValue

ScrollEventArgs(ScrollEventType, Int32, ScrollOrientation)

使用给定值ScrollEventArgsTypeNewValue属性初始化类的新实例ScrollOrientation

ScrollEventArgs(ScrollEventType, Int32, Int32, ScrollOrientation)

使用给定的 、ScrollEventArgs属性和Type属性的值初始化类的新实例OldValueNewValueScrollOrientation

ScrollEventArgs(ScrollEventType, Int32)

Source:
ScrollEventArgs.cs
Source:
ScrollEventArgs.cs
Source:
ScrollEventArgs.cs
Source:
ScrollEventArgs.cs
Source:
ScrollEventArgs.cs

使用给定的值ScrollEventArgs初始化类的新实例TypeNewValue属性。

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)

Source:
ScrollEventArgs.cs
Source:
ScrollEventArgs.cs
Source:
ScrollEventArgs.cs
Source:
ScrollEventArgs.cs
Source:
ScrollEventArgs.cs

使用给定值ScrollEventArgsTypeOldValue属性初始化类的新实例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)

Source:
ScrollEventArgs.cs
Source:
ScrollEventArgs.cs
Source:
ScrollEventArgs.cs
Source:
ScrollEventArgs.cs
Source:
ScrollEventArgs.cs

使用给定值ScrollEventArgsTypeNewValue属性初始化类的新实例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)

Source:
ScrollEventArgs.cs
Source:
ScrollEventArgs.cs
Source:
ScrollEventArgs.cs
Source:
ScrollEventArgs.cs
Source:
ScrollEventArgs.cs

使用给定的 、ScrollEventArgs属性和Type属性的值初始化类的新实例OldValueNewValueScrollOrientation

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 值。

另请参阅

适用于