Editare

Partajați prin


MouseButtonEventArgs Constructors

Definition

Initializes a new instance of the MouseButtonEventArgs class.

Overloads

MouseButtonEventArgs(MouseDevice, Int32, MouseButton)

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

MouseButtonEventArgs(MouseDevice, Int32, MouseButton, StylusDevice)

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

MouseButtonEventArgs(MouseDevice, Int32, MouseButton)

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

public:
 MouseButtonEventArgs(System::Windows::Input::MouseDevice ^ mouse, int timestamp, System::Windows::Input::MouseButton button);
public MouseButtonEventArgs (System.Windows.Input.MouseDevice mouse, int timestamp, System.Windows.Input.MouseButton button);
new System.Windows.Input.MouseButtonEventArgs : System.Windows.Input.MouseDevice * int * System.Windows.Input.MouseButton -> System.Windows.Input.MouseButtonEventArgs
Public Sub New (mouse As MouseDevice, timestamp As Integer, button As MouseButton)

Parameters

mouse
MouseDevice

The logical Mouse device associated with this event.

timestamp
Int32

The time when the input occurred.

button
MouseButton

The mouse button whose state is being described.

See also

Applies to

MouseButtonEventArgs(MouseDevice, Int32, MouseButton, StylusDevice)

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

public:
 MouseButtonEventArgs(System::Windows::Input::MouseDevice ^ mouse, int timestamp, System::Windows::Input::MouseButton button, System::Windows::Input::StylusDevice ^ stylusDevice);
public MouseButtonEventArgs (System.Windows.Input.MouseDevice mouse, int timestamp, System.Windows.Input.MouseButton button, System.Windows.Input.StylusDevice stylusDevice);
new System.Windows.Input.MouseButtonEventArgs : System.Windows.Input.MouseDevice * int * System.Windows.Input.MouseButton * System.Windows.Input.StylusDevice -> System.Windows.Input.MouseButtonEventArgs
Public Sub New (mouse As MouseDevice, timestamp As Integer, button As MouseButton, stylusDevice As StylusDevice)

Parameters

mouse
MouseDevice

The logical mouse device associated with this event.

timestamp
Int32

The time the event occurred.

button
MouseButton

The button associated with this event.

stylusDevice
StylusDevice

The stylus device associated with this event.

See also

Applies to