AutomationPeer.GetClickablePointCore AutomationPeer.GetClickablePointCore AutomationPeer.GetClickablePointCore AutomationPeer.GetClickablePointCore Method

Definition

Provides the peer's behavior when a Microsoft UI Automation client calls GetClickablePoint or an equivalent Microsoft UI Automation client API.

protected : virtual Point GetClickablePointCore()
virtual Point GetClickablePointCore() const;
protected virtual Point GetClickablePointCore()
Protected Overridable Function GetClickablePointCore() As Point
Returns

A point within the clickable area of the element.

Remarks

The base implementation returns a default Point (coordinates 0,0). Peers that represent items defer to the container. ScrollBarAutomationPeer and SliderAutomationPeer both have behavior that can't adequately express one point for the purposes of GetClickablePoint scenarios, so these return a Point where the coordinate values are Double.NaN.

Note

Visual C++ component extensions (C++/CX) doesn't have a constant for NaN, it uses a value, which appears as "-1.#IND" followed by zeros. Automation clients using languages other than C# or Visual C++ component extensions (C++/CX) may see NaN represented in a different form.

See Also