Share via


WpfControl Constructor (UITestControl)

Initializes a new instance of the WpfControl class by using the provided parent control.

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

Syntax

'Declaration
Public Sub New ( _
    parent As UITestControl _
)
public WpfControl(
    UITestControl parent
)
public:
WpfControl(
    UITestControl^ parent
)
new : 
        parent:UITestControl -> WpfControl
public function WpfControl(
    parent : UITestControl
)

Parameters

.NET Framework Security

See Also

Reference

WpfControl Class

WpfControl Overload

Microsoft.VisualStudio.TestTools.UITesting.WpfControls Namespace

UITestControl