WpfMenu Class
Represents a Windows Presentation Foundation (WPF) menu object in the user interface (UI) testing framework.
Inheritance Hierarchy
Object
Microsoft.VisualStudio.TestTools.UITesting.UITestControl
Microsoft.VisualStudio.TestTools.UITesting.WpfControls.WpfControl
Microsoft.VisualStudio.TestTools.UITesting.WpfControls.WpfMenu
Namespace: Microsoft.VisualStudio.TestTools.UITesting.WpfControls
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
<CLSCompliantAttribute(True)> _
Public Class WpfMenu _
Inherits WpfControl
[CLSCompliantAttribute(true)]
public class WpfMenu : WpfControl
[CLSCompliantAttribute(true)]
public ref class WpfMenu : public WpfControl
[<CLSCompliantAttribute(true)>]
type WpfMenu =
class
inherit WpfControl
end
public class WpfMenu extends WpfControl
The WpfMenu type exposes the following members.
Constructors
Name | Description | |
---|---|---|
WpfMenu() | Initializes a new instance of the WpfMenu class. | |
WpfMenu(UITestControl) | Initializes a new instance of the WpfMenu class by using the provided parent control. |
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