MouseButtonEventArgs Constructores

Definición

Inicializa una nueva instancia de la clase MouseButtonEventArgs.Initializes a new instance of the MouseButtonEventArgs class.

Sobrecargas

MouseButtonEventArgs(MouseDevice, Int32, MouseButton)

Inicializa una nueva instancia de la clase MouseButtonEventArgs utilizando el objeto MouseDevice, la marca de tiempo y el objeto MouseButton especificados.Initializes a new instance of the MouseButtonEventArgs class by using the specified MouseDevice, timestamp, and MouseButton.

MouseButtonEventArgs(MouseDevice, Int32, MouseButton, StylusDevice)

Inicializa una nueva instancia de la clase MouseButtonEventArgs utilizando el objeto MouseDevice, la marca de tiempo y los objetos MouseButton y StylusDevice especificados.Initializes a new instance of the MouseButtonEventArgs class by using the specified MouseDevice, timestamp, MouseButton, and StylusDevice. ..

MouseButtonEventArgs(MouseDevice, Int32, MouseButton)

Inicializa una nueva instancia de la clase MouseButtonEventArgs utilizando el objeto MouseDevice, la marca de tiempo y el objeto MouseButton especificados.Initializes a new instance of the MouseButtonEventArgs class by using the specified MouseDevice, timestamp, and 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)

Parámetros

mouse
MouseDevice

Dispositivo de mouse lógico asociado a este evento.The logical Mouse device associated with this event.

timestamp
Int32

Hora a la que se produjo la entrada.The time when the input occurred.

button
MouseButton

Botón del mouse cuyo estado se describe.The mouse button whose state is being described.

Consulte también

Se aplica a

MouseButtonEventArgs(MouseDevice, Int32, MouseButton, StylusDevice)

Inicializa una nueva instancia de la clase MouseButtonEventArgs utilizando el objeto MouseDevice, la marca de tiempo y los objetos MouseButton y StylusDevice especificados.Initializes a new instance of the MouseButtonEventArgs class by using the specified MouseDevice, timestamp, MouseButton, and 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)

Parámetros

mouse
MouseDevice

Dispositivo de mouse lógico asociado a este evento.The logical mouse device associated with this event.

timestamp
Int32

Hora en que se produjo el evento.The time the event occurred.

button
MouseButton

Botón asociado a este evento.The button associated with this event.

stylusDevice
StylusDevice

Dispositivo de lápiz óptico asociado a este evento.The stylus device associated with this event.

Consulte también

Se aplica a