windows phone 设置image 的source

当图片为 content 时 使用 new uri("/Images/1.png",UriKind.Relative)

当图片为 resource 时 使用 new uri("/App;/component/Images/1.png",UriKind.Relative);

有时这两张方法都不行时 可以尝试使用  设置图片为content  Stream stream= Microsoft.Xna.Framework.TitleContainer.OpenStream("Images/reminder.png");

posted @ 2012-03-29 14:27  blueker_li  阅读(212)  评论(0编辑  收藏  举报