LiveWaffle
LiveWaffle
CC#
Created by LiveWaffle on 5/22/2023 in #help
✅ Changing button on click
I am trying to change a button on click. So that once you click on it the icon changes to pause.png
<Grid>
<GroupBox>
<StackPanel>
<ToggleButton>
<Image Source="Resources/play.png" Width="30" Height="30"> </Image>
</ToggleButton>
</StackPanel>
</GroupBox>
</Grid>
<Grid>
<GroupBox>
<StackPanel>
<ToggleButton>
<Image Source="Resources/play.png" Width="30" Height="30"> </Image>
</ToggleButton>
</StackPanel>
</GroupBox>
</Grid>
Where should i start off?
6 replies