AutomationPeer.GetClickablePoint Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets a Point on the object that is associated with the automation peer that responds to a mouse click.

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

Syntax

'Declaration
Public Function GetClickablePoint As Point
public Point GetClickablePoint()

Return Value

Type: System.Windows.Point
A point in the clickable area of the element.

Remarks

For example, if the element represents a Button, a clickable point is any point in the visible client area of the Button that issues the command that the button represents when it is clicked by the mouse.

This implementation does nothing more than calling GetClickablePointCore.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.