This documentation is archived and is not being maintained.

WpfMenuItem.Expanded Property

Gets or sets a value that indicates whether this menu item is expanded.

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

public virtual bool Expanded { get; set; }

Property Value

Type: System.Boolean
true if this menu item is expanded; otherwise, false.

Show: