MouseDevice.GetClientPosition Метод

Определение

Вычисляет положение указателя мыши в клиентских координатах.

Перегрузки

GetClientPosition()

Вычисляет положение указателя мыши в клиентских координатах.

GetClientPosition(PresentationSource)

Вычисляет положение указателя мыши в клиентских координатах в заданном объекте PresentationSource.

GetClientPosition()

Вычисляет положение указателя мыши в клиентских координатах.

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

Возвращаемое значение

Положение указателя мыши в клиентских координатах.

Атрибуты

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

GetClientPosition(PresentationSource)

Вычисляет положение указателя мыши в клиентских координатах в заданном объекте 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

Параметры

presentationSource
PresentationSource

Источник, в котором требуется получить позицию мыши.

Возвращаемое значение

Положение указателя мыши в клиентских координатах в заданном объекте PresentationSource.

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