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
point
Type: Point%A clickable point in the UITestControl.
Return Value
Type: Boolean
true if the control is clickable; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.