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

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

适用于