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

Устройство пера, связанное с этим событием.

См. также раздел

Применяется к