AutomationPeer.GetPeerFromPointCore(Point) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.