wpf mvvm模式下的image绑定
2021-09-19 16:12
标签:jpg bitmap column fill etc ase ges get bin view文件 model文件 public BitmapImage CaseCoverImage { get { return this.GetValue(c => c.CaseCoverImage); } set { this.SetValue(c => c.Image, CaseCoverImage); } } viewmodel文件 BitmapImage defImage = new BitmapImage(); defImage.BeginInit(); defImage.UriSource = new Uri("/VIS3000V4;component/Images/test/大客车.jpg", UriKind.Relative); defImage.EndInit(); CaseCoverImage=defImage ;wpf mvvm模式下的image绑定标签:jpg bitmap column fill etc ase ges get bin 原文地址:http://www.cnblogs.com/zsx-blog/p/7417530.html
文章标题:wpf mvvm模式下的image绑定
文章链接:http://soscw.com/index.php/essay/107983.html