WPF中图片和动图的相对位置绑定
发布时间
阅读量:
阅读量
一.Image控件功能与应用
1.WPF框架下的XAML用户界面
<Image Grid.Row="0" Grid.Column="0" Width="150" Height="150" Name="Image图片" />
- Xaml.cs文件在WPF框架中的应用
BitmapImage imagetemp01 = new BitmapImage(new Uri("Image\Img\1图片.png", UriKind.Relative));
Image图片.Source = imagetemp01;
二.ImageBrush控件应用分析
1.WPF中的XAML界面设计
2.WPF中对应的Xaml.cs文件
ImgeBrush图片.ImageSource = new BitmapImage(new Uri("Image\Img\2图片.jpg", UriKind.Relative));
三.Image控件动态图绑定
1.WPF中XAML界面
//(1)绝对路径
<Image Gr
全部评论 (0)
还没有任何评论哟~
