Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ScrollEventArgs Constructor (ScrollEventType, Int32, Int32)

 

Initializes a new instance of the ScrollEventArgs class using the given values for the Type, OldValue, and NewValue properties.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
ScrollEventArgs(
	ScrollEventType type,
	int oldValue,
	int newValue
)

Parameters

type
Type: System.Windows.Forms::ScrollEventType

One of the ScrollEventType values.

oldValue
Type: System::Int32

The old value for the scroll bar.

newValue
Type: System::Int32

The new value for the scroll bar.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft