© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
7 replies
Sergonizer

❔ Change trigger behavior from code behind(!)

Hello again. I am still making a chess game using wpf&wcf. And the problem is that entire board is generated in code, so I can't do anything xaml related on the radio buttons I am using. The style of radio button is set by Style = FindResource(typeof(ToggleButton)) as Style; and I want to prevent selecting the cell from changing the background color (because it makes it impossible to see if the king is in check for example). So there should be a way to do this, but I couldnt find anything except xaml editing.
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

✅ Resource Dictionary(Code behind)
C#CC# / help
2y ago
✅ Caesar Cipher Code with Weird Behavior
C#CC# / help
3y ago
Can't read property in code behind
C#CC# / help
3y ago
✅ Lost on binding text with code behind
C#CC# / help
3y ago