WPF图片插入

图片插入

<Image Source="/WpfPractice;component/Pic/main.jpg" Grid.Column="1"  Grid.Row="1"  Stretch="Fill" />

WpfPractice:指代类名
component:类名默认值
Pic:存放图片的文件夹
main.jpg:文件名

猜你喜欢

转载自blog.csdn.net/waiting233/article/details/117290492