WpfButton Class
Represents a button control to test the user interface (UI) of Windows Presentation Foundation (WPF) applications.
Inheritance Hierarchy
Object
Microsoft.VisualStudio.TestTools.UITesting.UITestControl
Microsoft.VisualStudio.TestTools.UITesting.WpfControls.WpfControl
Microsoft.VisualStudio.TestTools.UITesting.WpfControls.WpfButton
Namespace: Microsoft.VisualStudio.TestTools.UITesting.WpfControls
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
<CLSCompliantAttribute(True)> _
Public Class WpfButton _
Inherits WpfControl
[CLSCompliantAttribute(true)]
public class WpfButton : WpfControl
[CLSCompliantAttribute(true)]
public ref class WpfButton : public WpfControl
[<CLSCompliantAttribute(true)>]
type WpfButton =
class
inherit WpfControl
end
public class WpfButton extends WpfControl
The WpfButton type exposes the following members.
Constructors
Name | Description | |
---|---|---|
WpfButton() | Initializes a new instance of the WpfButton class. | |
WpfButton(UITestControl) | Initializes a new instance of the WpfButton class. |
Top
Properties
Top
Methods
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.VisualStudio.TestTools.UITesting.WpfControls Namespace