言語

MouseButtonEventArgs コンストラクター

定義

MouseButtonEventArgs クラスの新しいインスタンスを初期化します。

オーバーロード

名前 説明
MouseButtonEventArgs(MouseDevice, Int32, MouseButton)

指定したMouseButtonEventArgs、タイムスタンプ、およびMouseDeviceを使用して、MouseButton クラスの新しいインスタンスを初期化します。

MouseButtonEventArgs(MouseDevice, Int32, MouseButton, StylusDevice)

指定したMouseButtonEventArgs、タイムスタンプ、MouseDevice、およびMouseButtonを使用して、StylusDevice クラスの新しいインスタンスを初期化します。 .

MouseButtonEventArgs(MouseDevice, Int32, MouseButton)

指定したMouseButtonEventArgs、タイムスタンプ、およびMouseDeviceを使用して、MouseButton クラスの新しいインスタンスを初期化します。

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

パラメーター

mouse
MouseDevice

このイベントに関連付けられている論理マウス デバイス。

timestamp
Int32

入力が発生した時刻。

button
MouseButton

状態が記述されているマウス ボタン。

こちらもご覧ください

適用対象

MouseButtonEventArgs(MouseDevice, Int32, MouseButton, StylusDevice)

指定したMouseButtonEventArgs、タイムスタンプ、MouseDevice、およびMouseButtonを使用して、StylusDevice クラスの新しいインスタンスを初期化します。 .

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

パラメーター

mouse
MouseDevice

このイベントに関連付けられている論理マウス デバイス。

timestamp
Int32

イベントが発生した時刻。

button
MouseButton

このイベントに関連付けられているボタン。

stylusDevice
StylusDevice

このイベントに関連付けられているスタイラス デバイス。

こちらもご覧ください

適用対象