Share via


WpfWindow.HasTitleBar Property

Gets a value that indicates whether this window has a title bar.

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

Syntax

'Declaration
Public Overridable ReadOnly Property HasTitleBar As Boolean
public virtual bool HasTitleBar { get; }
public:
virtual property bool HasTitleBar {
    bool get ();
}
abstract HasTitleBar : bool with get 
override HasTitleBar : bool with get
function get HasTitleBar () : boolean

Property Value

Type: Boolean
true if this window has a title bar; otherwise, false.

.NET Framework Security

See Also

Reference

WpfWindow Class

Microsoft.VisualStudio.TestTools.UITesting.WpfControls Namespace