แก้ไข

แชร์ผ่าน


MouseEventArgs Constructors

Definition

Initializes a new instance of the MouseEventArgs class.

Overloads

MouseEventArgs(MouseDevice, Int32)

Initializes a new instance of the MouseEventArgs class using the specified MouseDevice and timestamp.

MouseEventArgs(MouseDevice, Int32, StylusDevice)

Initializes a new instance of the MouseEventArgs class using the specified MouseDevice, timestamp, and StylusDevice.

MouseEventArgs(MouseDevice, Int32)

Initializes a new instance of the MouseEventArgs class using the specified MouseDevice and timestamp.

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

Parameters

mouse
MouseDevice

The mouse device associated with this event.

timestamp
Int32

The time when the input occurred.

Applies to

MouseEventArgs(MouseDevice, Int32, StylusDevice)

Initializes a new instance of the MouseEventArgs class using the specified MouseDevice, timestamp, and StylusDevice.

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

Parameters

mouse
MouseDevice

The mouse device associated with this event.

timestamp
Int32

The time when the input occurred.

stylusDevice
StylusDevice

The logical stylus device associated with this event.

Applies to