wpf使用Image

<Image Source="/RevitWpfTheme;component/Pic/main.jpg" Grid.Column="1"  Grid.Row="1"  Stretch="Fill" />
/RevitWpfTheme=>类名
component=》代指前面的类名

猜你喜欢

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