ImageEdit 展示图片(XAML, C#)

  <dxe:ImageEdit Source="/Gemr;component/Images/FakeUI/MedicalRecordFake.jpg" 
                       Stretch="Fill"
            ></dxe:ImageEdit>

 

绝对路径:

img.Source=new BitmapImage(new Uri(@"d:\photo\backgrpunds\arch.jpb"));

 

相对路径:

img.Source=new BitmapImage(new Uri("images/winter.jpg", UriKind.Relative));

posted @ 2014-02-20 16:24  quietwalk  阅读(708)  评论(0编辑  收藏  举报