This documentation is archived and is not being maintained.

WpfMenuItem Constructor (UITestControl)

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

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

public WpfMenuItem(
	UITestControl parent
)

Parameters

parent
Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControl
The UITestControl that contains this control.

Show: