MouseDevice.GetClientPosition Method
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.
Calculates the position of the mouse pointer, in client coordinates.
Overloads
GetClientPosition() |
Calculates the position of the mouse pointer, in client coordinates. |
GetClientPosition(PresentationSource) |
Calculates the position of the mouse pointer, in client coordinates, in the specified PresentationSource. |
GetClientPosition()
Calculates the position of the mouse pointer, in client coordinates.
protected:
System::Windows::Point GetClientPosition();
[System.Security.SecurityCritical]
[System.Security.SecurityTreatAsSafe]
protected System.Windows.Point GetClientPosition ();
protected System.Windows.Point GetClientPosition ();
[<System.Security.SecurityCritical>]
[<System.Security.SecurityTreatAsSafe>]
member this.GetClientPosition : unit -> System.Windows.Point
member this.GetClientPosition : unit -> System.Windows.Point
Protected Function GetClientPosition () As Point
Returns
The position of the mouse pointer, in client coordinates.
- Attributes
Applies to
GetClientPosition(PresentationSource)
Calculates the position of the mouse pointer, in client coordinates, in the specified PresentationSource.
protected:
System::Windows::Point GetClientPosition(System::Windows::PresentationSource ^ presentationSource);
protected System.Windows.Point GetClientPosition (System.Windows.PresentationSource presentationSource);
member this.GetClientPosition : System.Windows.PresentationSource -> System.Windows.Point
Protected Function GetClientPosition (presentationSource As PresentationSource) As Point
Parameters
- presentationSource
- PresentationSource
The source in which to obtain the mouse position.
Returns
The position of the mouse pointer, in client coordinates, in the specified PresentationSource.
Applies to
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για