MouseEventArgs.MouseDevice Property
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.
Gets the mouse device associated with this event.
public:
property System::Windows::Input::MouseDevice ^ MouseDevice { System::Windows::Input::MouseDevice ^ get(); };
public System.Windows.Input.MouseDevice MouseDevice { get; }
member this.MouseDevice : System.Windows.Input.MouseDevice
Public ReadOnly Property MouseDevice As MouseDevice
Property Value
The mouse device associated with this event. There is no default value.
Examples
The following example gets the MouseDevice associated with an input event.
MouseDevice mouseDevice = e.MouseDevice;
Dim mouseDevice As MouseDevice = e.MouseDevice
Remarks
The Mouse class provides additional properties and methods for determining the state of the mouse.
Applies to
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.