AutomationPeer.GetPeerFromPoint(Point) メソッド

定義

指定したポイントから AutomationPeer を取得します。

public:
 virtual AutomationPeer ^ GetPeerFromPoint(Point point) = GetPeerFromPoint;
/// [Windows.Foundation.Metadata.Deprecated("Consider using GetElementFromPoint, which is an improved version of GetPeerFromPoint. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
AutomationPeer GetPeerFromPoint(Point const& point);
/// [Windows.Foundation.Metadata.Deprecated("Consider using GetElementFromPoint, which is an improved version of GetPeerFromPoint. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
AutomationPeer GetPeerFromPoint(Point const& point);
[Windows.Foundation.Metadata.Deprecated("Consider using GetElementFromPoint, which is an improved version of GetPeerFromPoint. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))]
public AutomationPeer GetPeerFromPoint(Point point);
[Windows.Foundation.Metadata.Deprecated("Consider using GetElementFromPoint, which is an improved version of GetPeerFromPoint. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
public AutomationPeer GetPeerFromPoint(Point point);
function getPeerFromPoint(point)
Public Function GetPeerFromPoint (point As Point) As AutomationPeer

パラメーター

point
Point

UI 内のターゲット UI 要素の相対位置。

戻り値

指定したポイントにある UI 要素の AutomationPeer

属性

注釈

このメソッドは、実用的な UI 座標をヒット テストし、対応する UI 要素を評価し、ヒット テストされた UI 要素に対応するピアを返すユーティリティです。

適用対象