ScrollEventArgs Constructor (ScrollEventType, Int32, ScrollOrientation)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

public ScrollEventArgs(
	ScrollEventType type,
	int newValue,
	ScrollOrientation scroll
)

Parameters

type
Type: System.Windows.Forms.ScrollEventType

One of the ScrollEventType values.

newValue
Type: System.Int32

The new value for the scroll bar.

scroll
Type: System.Windows.Forms.ScrollOrientation

One of the ScrollOrientation values.

.NET Framework
Available since 2.0
Return to top
Show: