.NET Framework Class Library
Window.Title Property
Gets or sets a window's title.
Assembly: PresentationFramework (in PresentationFramework.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation
Syntax
Visual Basic
<LocalizabilityAttribute(LocalizationCategory.Title)> _ Public Property Title As String Get Set
C#
[LocalizabilityAttribute(LocalizationCategory.Title)] public string Title { get; set; }
Visual C++
[LocalizabilityAttribute(LocalizationCategory::Title)] public: virtual property String^ Title { String^ get () sealed; void set (String^ value) sealed; }
F#
[<LocalizabilityAttribute(LocalizationCategory.Title)>] abstract Title : string with get, set [<LocalizabilityAttribute(LocalizationCategory.Title)>] override Title : string with get, set
XAML Attribute Usage
<object Title="string" .../>
Dependency Property Information
|
Identifier field |
|
|
Metadata properties set to true |
None |
Remarks
The title of a Window, NavigationWindow, or Windows Internet Explorer, can also be set by using Page.WindowTitle.
Version Information
.NET Framework
Supported in: 4, 3.5, 3.0.NET Framework Client Profile
Supported in: 4, 3.5 SP1Platforms
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
See Also