MouseButtonEventArgs Constructor (MouseDevice^, Int32, MouseButton)

 

Initializes a new instance of the MouseButtonEventArgs class by using the specified MouseDevice, timestamp, and MouseButton.

Namespace:   System.Windows.Input
Assembly:  PresentationCore (in PresentationCore.dll)

public:
MouseButtonEventArgs(
	MouseDevice^ mouse,
	int timestamp,
	MouseButton button
)

Parameters

mouse
Type: System.Windows.Input::MouseDevice^

The logical Mouse device associated with this event.

timestamp
Type: System::Int32

The time when the input occurred.

button
Type: System.Windows.Input::MouseButton

The mouse button whose state is being described.

.NET Framework
Available since 3.0
Return to top
Show: