AutomationPeer.GetPeerFromPoint(Point) AutomationPeer.GetPeerFromPoint(Point) AutomationPeer.GetPeerFromPoint(Point) AutomationPeer.GetPeerFromPoint(Point) Method

Definition

Gets an AutomationPeer from the specified point.

public : AutomationPeer GetPeerFromPoint(Point point)
AutomationPeer GetPeerFromPoint(Point point) const;
public AutomationPeer GetPeerFromPoint(Point point)
Public Function GetPeerFromPoint(point As Point) As AutomationPeer
Parameters
point
Point Point

The relative position of the target UI element in the UI.

Returns

The AutomationPeer for the UI element at the specified point.

Remarks

This method is a utility for hit testing practical UI coordinates, evaluating the corresponding UI element, and returning the peer that corresponds to the hit-tested UI element.