Search code examples
c#.netxamlwindows-store-appswin-universal-app

Change a Windows Store App's title text


How can I change the shown title of the app? (Like Photos does)

In Winforms that would be form1.Text = "new title";.

How do we do that in UWP?


Solution

  • using Windows.UI.ViewManagement;
    
    ...
    
    ApplicationView appView = ApplicationView.GetForCurrentView();
    appView.Title = "Title text goes here";