silverlight - 在 WP7 中设置整个背景图像/颜色

标签 silverlight xaml windows-phone-7

我似乎无法解决(即使我见过其他应用程序)如何将 WP7 页面的整个背景设置为图像或颜色,例如在 Panorama 中。

如果我设置

  Grid x:Name="LayoutRoot" Background="#FF0079C1"

或者

<Grid.Background>
        <ImageBrush ImageSource="/images/highwaysBack.jpg" Stretch="None" />
    </Grid.Background> 

它仍然会根据手机设置将顶部信息部分保留为黑色或白色。

非常感谢。

最佳答案

这很可能是系统托盘。您可以通过在页面上设置 shell:SystemTray.IsVisible="False"来隐藏它。

关于silverlight - 在 WP7 中设置整个背景图像/颜色,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5370543/

相关文章:

c# - 未实现接口(interface)成员 'System.ComponentModel.INotifyPropertyChanged.PropertyChanged'

silverlight - 是否有任何有用的 Silverlight 框架?

silverlight - 业务逻辑在MVVM中位于何处?

c# - 在 Canvas 中动态添加 XAML 中的图像

c# - 自定义DatePicker Windows Phone 8.1通用

windows-phone-7 - 绑定(bind)到 Windows Phone 7 项目数据模板内的 MVVM Light 中继命令

c# - 如何在 Silverlight 中本地保存多个文件?

xaml - Windows Phone 8.1 上的资源限定符

java - .Net XML 阅读器在 Android 中是否等效?

c# - 我可以在 Windows Phone 7 中导航到来自另一个 xaml 页面的数据透视项吗?