MouseButtonEventArgs Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the MouseButtonEventArgs class.
Overloads
MouseButtonEventArgs(MouseDevice, Int32, MouseButton) |
Initializes a new instance of the MouseButtonEventArgs class by using the specified MouseDevice, timestamp, and MouseButton. |
MouseButtonEventArgs(MouseDevice, Int32, MouseButton, StylusDevice) |
Initializes a new instance of the MouseButtonEventArgs class by using the specified MouseDevice, timestamp, MouseButton, and StylusDevice. . |
MouseButtonEventArgs(MouseDevice, Int32, MouseButton)
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)
Parameters
- mouse
- MouseDevice
The logical Mouse device associated with this event.
- timestamp
- Int32
The time when the input occurred.
- button
- MouseButton
The mouse button whose state is being described.
See also
Applies to
MouseButtonEventArgs(MouseDevice, Int32, MouseButton, StylusDevice)
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)
Parameters
- mouse
- MouseDevice
The logical mouse device associated with this event.
- timestamp
- Int32
The time the event occurred.
- button
- MouseButton
The button associated with this event.
- stylusDevice
- StylusDevice
The stylus device associated with this event.
See also
Applies to
Povratne informacije
https://aka.ms/ContentUserFeedback.
Stiže uskoro: Tijekom 2024. postupno ćemo ukinuti servis Problemi sa servisom GitHub kao mehanizam za povratne informacije za sadržaj i zamijeniti ga novim sustavom za povratne informacije. Dodatne informacije potražite u članku:Pošaljite i pogledajte povratne informacije za