Share via


QueryCursorEventArgs 构造函数

定义

初始化 QueryCursorEventArgs 类的新实例。

重载

QueryCursorEventArgs(MouseDevice, Int32)

使用指定的鼠标设备和时间戳初始化 QueryCursorEventArgs 类的新实例。

QueryCursorEventArgs(MouseDevice, Int32, StylusDevice)

使用指定的鼠标设备、时间戳和触笔设备初始化 QueryCursorEventArgs 类的新实例。

QueryCursorEventArgs(MouseDevice, Int32)

使用指定的鼠标设备和时间戳初始化 QueryCursorEventArgs 类的新实例。

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)

参数

mouse
MouseDevice

与此事件关联的逻辑鼠标设备。

timestamp
Int32

发生输入的时间。

适用于

QueryCursorEventArgs(MouseDevice, Int32, StylusDevice)

使用指定的鼠标设备、时间戳和触笔设备初始化 QueryCursorEventArgs 类的新实例。

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)

参数

mouse
MouseDevice

与此事件关联的逻辑鼠标设备。

timestamp
Int32

发生输入的时间。

stylusDevice
StylusDevice

与此事件关联的触笔指针。

适用于