Rediger

Del via


ScrollEventArgs(ScrollEventType, Double) Constructor

Definition

Initializes an instance of the ScrollEventArgs class by using the specified ScrollEventType enumeration value and the new location of the Thumb control in the ScrollBar.

public:
 ScrollEventArgs(System::Windows::Controls::Primitives::ScrollEventType scrollEventType, double newValue);
public ScrollEventArgs (System.Windows.Controls.Primitives.ScrollEventType scrollEventType, double newValue);
new System.Windows.Controls.Primitives.ScrollEventArgs : System.Windows.Controls.Primitives.ScrollEventType * double -> System.Windows.Controls.Primitives.ScrollEventArgs
Public Sub New (scrollEventType As ScrollEventType, newValue As Double)

Parameters

scrollEventType
ScrollEventType

A ScrollEventType enumeration value that describes the type of Thumb movement that caused the event.

newValue
Double

The value that corresponds to the new location of the Thumb in the ScrollBar.

Applies to