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 のマウス ポインターの位置 (クライアント座標)。

適用対象