We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

WpfMenu.Items Property

Gets a collection of items in this menu.

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

public virtual UITestControlCollection Items { get; }

Property Value

Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControlCollection
A collection of items in this menu.

Show: