Sdílet prostřednictvím


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) = GetPeerFromPointCore;
AutomationPeer GetPeerFromPointCore(Point const& point);
protected virtual AutomationPeer GetPeerFromPointCore(Point point);
function getPeerFromPointCore(point)
Protected Overridable Function GetPeerFromPointCore (point As Point) As AutomationPeer

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

See also