UITestControl.TryGetClickablePoint Method

Returns a clickable point in the UITestControl. If the control is not clickable, this method returns false.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Syntax

'Declaration
Public Function TryGetClickablePoint ( _
    <OutAttribute> ByRef point As Point _
) As Boolean
public bool TryGetClickablePoint(
    out Point point
)
public:
bool TryGetClickablePoint(
    [OutAttribute] Point% point
)
member TryGetClickablePoint : 
        point:Point byref -> bool 
public function TryGetClickablePoint(
    point : Point
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the control is clickable; otherwise, false.

.NET Framework Security

See Also

Reference

UITestControl Class

Microsoft.VisualStudio.TestTools.UITesting Namespace