我创建了一个带图像的按钮:
<Button x:Name="btnAddRow" Grid.Row="0" Grid.Column="5" Margin="5, 5" Command="{Binding CmdAddRow}">
<Image Source="pack://application:,,,/Resources/help_16.png" Stretch="None" HorizontalAlignment="Center" />
</Button>
图像包含在资源中。在Designer中,显示图像(蓝色帮助图标):
有人可以帮助我吗,这可能有什么问题?
非常感谢。