[英]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";
在Winforms中,将是
form1.Text = "new title";
. 。
How do we do that in UWP? 我们如何在UWP中做到这一点?
using Windows.UI.ViewManagement;
...
ApplicationView appView = ApplicationView.GetForCurrentView();
appView.Title = "Title text goes here";
When I use ApplicationView
, it appends the Title
to the assembly name. 当我使用
ApplicationView
,它将Title
附加到程序集名称。
We could edit Application
-> Display Name
in the Package.appxmanifest
file. 我们可以在
Package.appxmanifest
文件中编辑Application
- > Display Name
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.