AutomationPeer.GetPeerFromPointCore(Point) AutomationPeer.GetPeerFromPointCore(Point) AutomationPeer.GetPeerFromPointCore(Point) 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.

protected : virtual AutomationPeer GetPeerFromPointCore(Point point)
virtual AutomationPeer GetPeerFromPointCore(Point point) const;
protected virtual AutomationPeer GetPeerFromPointCore(Point point)
Protected Overridable Function GetPeerFromPointCore(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

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

See also