© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
2 replies
_giuraemanuel

❔ Wpf chess board problem

Hello! Im trying to color a chess board. I have a bunch of border tags for the squares. I think it can be inferred from the screenshots what im trying to do. Yes i know this ain't the best way of writing this code but my main focus is to have something working, then i can refactor later as needed. I'm stuck trying to color the odd numbered squares. I dont know how to write the syntax for coloring the odd numbered squares. I've been googling for the past hours trying to figure it out, but alas i couldn't figure it out 😕 I would really appreciate some help should anyone be so kind as to extend this newb a hand. Thank you very much!
image.png
image.png
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

❔ WPF Problem
C#CC# / help
3y ago
Chess Game with WPF in Visual Studio + MVVM
C#CC# / help
10mo ago
Wpf combobox problem
C#CC# / help
2y ago