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)

Syntax

'Declaration
Public Overridable Property Expanded As Boolean
public virtual bool Expanded { get; set; }
public:
virtual property bool Expanded {
    bool get ();
    void set (bool value);
}
abstract Expanded : bool with get, set 
override Expanded : bool with get, set
function get Expanded () : boolean 
function set Expanded (value : boolean)

Property Value

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

.NET Framework Security

See Also

Reference

WpfMenuItem Class

Microsoft.VisualStudio.TestTools.UITesting.WpfControls Namespace