ApplicationView.Title ApplicationView.Title ApplicationView.Title ApplicationView.Title ApplicationView.Title Property


Gets or sets the displayed title of the window.

public : Platform::String Title { get; set; }
winrt::hstring Title();

void Title(winrt::hstring title);
public string Title { get; set; }
Public ReadWrite Property Title As string
var string = applicationView.title;
applicationView.title = string;

Property Value

string string string

The title of the window.


The Title property provides a title for the window.

When the Title property is not set, the system shows the app's display name in the title bar, as specified in the Display name field in the app manifest (Package.appxmanifest). When you set the Title property, Windows may choose to append the app display name to the end of the Title value you set.

We recommend that you set a title that describes the window, not the app. If you have an app that can have multiple documents open, each window should have the document title, which is considered more informative than just showing the app name.

For example, assume you have an app named, "My Notes App", with a window showing a document named "Note 1". You should set the Title property to "Note 1". Windows appends the app display name so the title bar shows "Note 1 - My Notes App".

This property is a nonstatic member of the window object. For JavaScript, this means that it is a method of the window object that getForCurrentView creates, and not a method of the ApplicationView class.