AutomationPeer.GetClickablePointCore メソッド

定義

Microsoft UI オートメーション クライアントが GetClickablePoint または同等の Microsoft UI オートメーション クライアント API を呼び出すときのピアの動作を提供します。

protected:
 virtual Point GetClickablePointCore() = GetClickablePointCore;
Point GetClickablePointCore();
protected virtual Point GetClickablePointCore();
function getClickablePointCore()
Protected Overridable Function GetClickablePointCore () As Point

戻り値

要素のクリック可能な領域内のポイント。

注釈

基本実装は、既定の Point (座標 0,0) を返します。 項目を表すピアは、コンテナーに遅延します。 ScrollBarAutomationPeerSliderAutomationPeer の両方に 、GetClickablePoint シナリオの目的で 1 つのポイントを適切に表現できない動作があるため、座標値が NaN である Point が返されます。

注意

C# では、 Double.NaN から NaN を取得できます。

C++ では、マクロまたは std::numeric_limits<double>::quiet_NaNを使用して NaN をNAN取得できます。

演算子を使用して == NaN をテストしないでください。

C# では、 Double.IsNaN() を使用して NaN をテストします。

C++ では、 isnan() を使用して NaN をテストします。

適用対象

こちらもご覧ください