Jac*_*Dev 3 c# xml xaml windows-phone-7
有没有办法将Windows Phone上的系统托盘颜色从黑色更改为白色?我的应用程序有白色背景,所以我也希望系统托盘是白色的.
您可以在页面XAML中执行此操作:
<phone:PhoneApplicationPage
...
xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
shell:SystemTray.IsVisible="True"
shell:SystemTray.BackgroundColor="Blue">
...
Run Code Online (Sandbox Code Playgroud)
在Mango/7.1中,您可以设置SystemTray的BackgroundColor属性.如果您的目标是7.0,那么您唯一的选择是使用SystemTray.IsVisible完全隐藏SystemTray.