Expand Minimize

AutomationPeer.GetPeerFromPoint method

Applies to Windows and Windows Phone

Gets an AutomationPeer from the specified point.

Syntax


public AutomationPeer GetPeerFromPoint(
  Point point
)

Parameters

point

Type: Point

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

Return value

Type: AutomationPeer

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.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Automation.Peers
Windows::UI::Xaml::Automation::Peers [C++]

Metadata

Windows.winmd

See also

AutomationPeer

 

 

Show:
© 2014 Microsoft