ScrollEventArgs Constructor (ScrollEventType, Int32)

 

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

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

public ScrollEventArgs(
	ScrollEventType type,
	int newValue
)

Parameters

type
Type: System.Windows.Forms.ScrollEventType

One of the ScrollEventType values.

newValue
Type: System.Int32

The new value for the scroll bar.

.NET Framework
Available since 1.1
Return to top
Show: