Bewerken

Delen via


QueryCursorEventArgs Constructors

Definition

Initializes a new instance of the QueryCursorEventArgs class.

Overloads

QueryCursorEventArgs(MouseDevice, Int32)

Initializes a new instance of the QueryCursorEventArgs class, by using the specified mouse device and the specified timestamp.

QueryCursorEventArgs(MouseDevice, Int32, StylusDevice)

Initializes a new instance of the QueryCursorEventArgs class, by using the specified mouse device, timestamp, and stylus device.

QueryCursorEventArgs(MouseDevice, Int32)

Initializes a new instance of the QueryCursorEventArgs class, by using the specified mouse device and the specified timestamp.

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

Parameters

mouse
MouseDevice

The logical mouse device associated with this event.

timestamp
Int32

The time when the input occurred.

Applies to

QueryCursorEventArgs(MouseDevice, Int32, StylusDevice)

Initializes a new instance of the QueryCursorEventArgs class, by using the specified mouse device, timestamp, and stylus device.

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

Parameters

mouse
MouseDevice

The logical mouse device associated with this event.

timestamp
Int32

The time when the input occurred.

stylusDevice
StylusDevice

The stylus pointer associated with this event.

Applies to