语言

StylusButtonEventArgs(StylusDevice, Int32, StylusButton) 构造函数

定义

初始化 StylusButtonEventArgs 类的新实例。

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

参数

stylusDevice
StylusDevice

要 StylusDevice 与此事件关联。

timestamp
Int32

事件发生的时间。

button
StylusButton

引发 StylusButton 事件的项。

适用于