WpfMenuItem.Header Property

Gets the contents of the header for this menu item control.

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

Syntax

'Declaration
Public Overridable ReadOnly Property Header As String
public virtual string Header { get; }
public:
virtual property String^ Header {
    String^ get ();
}
abstract Header : string
override Header : string
function get Header () : String

Property Value

Type: System.String
The contents of the header for this menu item control.

.NET Framework Security

See Also

Reference

WpfMenuItem Class

Microsoft.VisualStudio.TestTools.UITesting.WpfControls Namespace