© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
5 replies
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>
<Grid>
        <GroupBox>
            <StackPanel>
                <ToggleButton>
                    <Image Source="Resources/play.png" Width="30" Height="30"> </Image>
                </ToggleButton>
            </StackPanel>
        </GroupBox>
    </Grid>
Where should i start off?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ Button Click
C#CC# / help
3y ago
Thread Error on Button Click
C#CC# / help
8mo ago
btn_Apply_Click not changing variables.
C#CC# / help
3y ago
button background not changing wpf
C#CC# / help
2y ago