ScrollEventArgs Constructors

Definition

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);

Parameters

type
ScrollEventType

One of the ScrollEventType values.

newValue
Int32

The new value for the scroll bar.

See also

Applies to

.NET Framework 4.8.1 e outras versões
Produto Versões
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

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);

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

.NET Framework 4.8.1 e outras versões
Produto Versões
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

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);

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

.NET Framework 4.8.1 e outras versões
Produto Versões
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

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);

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 Framework 4.8.1 e outras versões
Produto Versões
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9