Επεξεργασία

Κοινή χρήση μέσω


Page.Title Property

Definition

Gets or sets the title of the Page.

public:
 property System::String ^ Title { System::String ^ get(); void set(System::String ^ value); };
public string Title { get; set; }
member this.Title : string with get, set
Public Property Title As String

Property Value

The title of the Page.

Remarks

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.

Dependency Property Information

Identifier field TitleProperty
Metadata properties set to true None

Applies to