AutomationPeer.GetPeerFromPointCore(Point) Method

Definition

Provides the peer's behavior when a Microsoft UI Automation client calls GetPeerFromPoint or an equivalent Microsoft UI Automation client API.

C#
protected virtual AutomationPeer GetPeerFromPointCore(Point point);

Parameters

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

Test the existing return value in the peer that you are using or overriding and then override that behavior if necessary.

Applies to

Product Versions
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6

See also