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

浙公网安备 33010602011771号