问题
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?
回答1:
using Windows.UI.ViewManagement;
...
ApplicationView appView = ApplicationView.GetForCurrentView();
appView.Title = "Title text goes here";
回答2:
When I use ApplicationView
, it appends the Title
to the assembly name.
We could edit Application
-> Display Name
in the Package.appxmanifest
file.
来源:https://stackoverflow.com/questions/33400597/change-a-windows-store-apps-title-text