--- title: "How to: Set the Title of a Window from a Page" ms.date: "03/30/2017" helpviewer_keywords: - "windows [WPF], setting title from a page" - "title of window [WPF], setting from a page" - "pages [WPF], setting window title from" ms.assetid: fecf0d19-3eb6-4f8c-a44f-ff1b6f2b34b3 --- # How to: Set the Title of a Window from a Page This example shows how to set the title of the window in which a is hosted. ## Example A page can change the title of the window that is hosting it by setting the property, like so: [!code-xaml[HOWTONavigationSnippets#SetPageWindowTitleXAML](~/samples/snippets/csharp/VS_Snippets_Wpf/HOWTONavigationSnippets/CSharp/SetWindowTitlePage.xaml#setpagewindowtitlexaml)] > [!NOTE] > Setting the property of a page does not change the value of the window title. Instead, specifies the name of a page entry in navigation history.