Page::Title Property

 

Gets or sets the title of the Page.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public:
property String^ Title {
	String^ get();
	void set(String^ value);
}

Property Value

Type: System::String^

The title of the Page.

The value of the Title property is not displayed by Page, nor is it displayed from the title bar of the window that is hosting a Page. Instead, you set WindowTitle to change the title of a host window.

Title can also be used to generate the name of the navigation history entry for a piece of navigated content. The following pieces of data are used to automatically construct a navigation history entry name, in order of precedence:

  • The attached Name attribute.

  • The Title property.

  • The WindowTitle property and the uniform resource identifier (URI) for the current page

  • The uniform resource identifier (URI) for the current page.

If you have associated a CustomContentState object with a piece of content in navigation history, you can specify the name that appears in the navigation history entry by overriding CustomContentState::JournalEntryName.

Identifier field

TitleProperty

Metadata properties set to true

None

.NET Framework
Available since 3.0
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: