Windows Dev Center

FrameworkElementAutomationPeer.GetClickablePointCore Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Returns a Point that represents the clickable space that is on the UIElement that is associated with this FrameworkElementAutomationPeer. This method is called by GetClickablePoint.

Namespace:  System.Windows.Automation.Peers
Assembly:  System.Windows (in System.Windows.dll)

protected override Point GetClickablePointCore()

Return Value

Type: System.Windows.Point
The Point on the element that allows a click.

Notes to Inheritors

The return value for this method in the FrameworkElementAutomationPeer implementation comes from an internal property store. At run-time after layout, this value will be populated. The behavior is generally to return a point that is the center of the rectangle returned by GetBoundingRectangle / GetBoundingRectangleCore.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2015 Microsoft