我正在制作我的第一个通用Windows应用程序。我正在使用C ++和XAML。我希望在发生按钮点击事件时在屏幕上显示图像。我怎么能这样做?
<Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
<Image x:Name="image" HorizontalAlignment="Left" Height="300" Margin="444,235,0,0" VerticalAlignment="Top" Width="393" Source="Assets/b.png"/>
<Button x:Name="button" Content="Button" HorizontalAlignment="Left" Margin="564,617,0,0" VerticalAlignment="Top" Click="release"/>
</Grid>