C#C
C#3y ago
Andrew

✅ 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>
Where should i start off?
Was this page helpful?