原Microsoft.Phone.Shell中的SystemTray,已经改到Windows.UI.ViewManagement中StatusBar了。
只能在代码中设置相关属性。
如:
1
2
3
4
5
6
7
8
|
StatusBar statusBar = StatusBar.GetForCurrentView();
// 显示StatusBar
await statusBar.ShowAsync();
// 隐藏StatusBar
// await statusBar.HideAsync();
// 设置ProgressIndicator
statusBar.ProgressIndicator.Text =
"test..."
;
await statusBar.ProgressIndicator.ShowAsync();
|
原文: