Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This example shows how to set the title of the window in which a Page is hosted.
Example
A page can change the title of the window that is hosting it by setting the WindowTitle property, like so:
<Page
xmlns="https://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="https://schemas.microsoft.com/winfx/2006/xaml"
Title="Page Title"
WindowTitle="Window Title"
>
</Page>
![]() |
---|
Setting the Title property of a page does not change the value of the window title. Instead, Title specifies the name of a page entry in navigation history. |