Share via


WpfButton Constructor (UITestControl)

Initializes a new instance of the WpfButton class.

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 WpfButton(
    UITestControl parent
)
public:
WpfButton(
    UITestControl^ parent
)
new : 
        parent:UITestControl -> WpfButton
public function WpfButton(
    parent : UITestControl
)

Parameters

.NET Framework Security

See Also

Reference

WpfButton Class

WpfButton Overload

Microsoft.VisualStudio.TestTools.UITesting.WpfControls Namespace

UITestControl