Share via


UITestControl.WaitForControlCondition Method (Predicate<UITestControl>)

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assemblies:   Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)
  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Syntax

'Declaration
Public Function WaitForControlCondition ( _
    conditionEvaluator As Predicate(Of UITestControl) _
) As Boolean
public bool WaitForControlCondition(
    Predicate<UITestControl> conditionEvaluator
)
public:
bool WaitForControlCondition(
    Predicate<UITestControl^>^ conditionEvaluator
)
member WaitForControlCondition : 
        conditionEvaluator:Predicate<UITestControl> -> bool
public function WaitForControlCondition(
    conditionEvaluator : Predicate<UITestControl>
) : boolean

Parameters

Return Value

Type: Boolean

.NET Framework Security

See Also

Reference

UITestControl Class

WaitForControlCondition Overload

Microsoft.VisualStudio.TestTools.UITesting Namespace