AutomationPeer.GetClickablePoint Method

Definition

获取与自动化同级相关联的元素上响应鼠标单击的 PointGets a Point on the element that is associated with the automation peer that responds to a mouse click.

public:
 System::Windows::Point GetClickablePoint();
public System.Windows.Point GetClickablePoint ();
member this.GetClickablePoint : unit -> System.Windows.Point
Public Function GetClickablePoint () As Point

Returns

Point

元素的可单击区域中的点。A point in the clickable area of the element.

Exceptions

目前正在对此方法进行公开调用。A public call to this method is currently in progress.

Remarks

例如,如果元素表示 Button,则可单击的点是 Button 的可见工作区中的任何点,它会发出按钮在鼠标单击时表示的命令。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.

Applies to

See also