Use Custom Background Image for Application-为自己的Windows Phone程序使用自定义背景图片
2013-01-23 14:09
645 查看
If you want to use a custom image for your application background, you can set this as follows:
Some things to note:
Make sure the Image has the Build Action set to Content.
Make sure the Images folder is at the application root level.
Having your own background and colour combination will have the same look across bothLight and
Dark themes.
原文链接:http://amitchandnz.wordpress.com/2011/09/26/use-custom-background-image-for-application/
<phone:PhoneApplicationPage > ... <Grid x:Name="LayoutRoot"> <Grid.Background> <ImageBrush ImageSource="/Images/YourImage.jpg"></ImageBrush> </Grid.Background> ... </Grid> </phone:PhoneApplicationPage>
Some things to note:
Make sure the Image has the Build Action set to Content.
Make sure the Images folder is at the application root level.
Having your own background and colour combination will have the same look across bothLight and
Dark themes.
原文链接:http://amitchandnz.wordpress.com/2011/09/26/use-custom-background-image-for-application/
相关文章推荐
- 网页背景图片Full Page Background Image
- CSS定义背景图片background-image须注意路径问题
- jquery设置背景图片:$(this).css("background-image","url(on.jpg)");就可以了
- css3实现一个div设置多张背景图片及background-image属性
- 用background-image:url();属性设置背景图片,为什么总是显示不出来?
- 微信小程序实现text文本包裹,和使用网络图片做背景
- 使用一个小图片tile平铺到ImageView中或Activity背景
- 实现图片分割---产生多个div分割图片 使用for和二维数组来设置背景定位
- 计算资源中ICON,Image,Bmp的CRC值,检查自己的程序图片是否被篡改
- 使用自定义的item、Adapter和AsyncTask、第三方开源框架PullToRefresh联合使用实现自定义的下拉列表(从网络加载图片显示在item中的ImageView)
- Android 布局自定义Shap圆形ImageView,可以单独设置背景与图片
- 【整理】Android中使用XML自定义组件各种状态下的背景图片
- 使用 CustomScript 扩展程序自动执行 Linux 虚拟机自定义任务
- CSS样式中,background-image 背景图片如何居中显示
- document.execCommand("BackgroundImageCache",false,true)解决ie6下的背景图片缓存问题
- iOS程序开发之使用PlaceholderImageView实现优雅的图片加载效果
- div+css - CSS标准 - background-image背景图片
- 使用自定义的item、Adapter和AsyncTask、第三方开源框架PullToRefresh联合使用实现自定义的下拉列表(从网络加载图片显示在item中的ImageView)
- 有关background的使用同一图片做背景position定位的方法
- 微信小程序background设置背景图片不能用本地图片