我计划在 WP7 中为我的每个页面使用背景图像,并且不保持背景透明。
我需要注意的任何建议或问题?
另外,我注意到一个 CacheMode
属性。
如果每个页面在整个页面上都具有相同的背景,我可以使用它来提高性能吗?
最佳答案
2个步骤:
(1)
在
<phone:PhoneApplicationPage
设置 shell:SystemTray.IsVisible = "False"
(2)
<Grid x:Name="LayoutRoot">
<Grid.Background>
<ImageBrush ImageSource="Assets/Images/Flowers.png"></ImageBrush>
</Grid.Background>
关于windows-phone-7 - WP7页面背景图片,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4311103/