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

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

こちらもご覧ください

適用対象