C#C
C#5mo ago
Glitchoid

Linking a WPF grid to an array in the code behind

Does anyone have any advice on how to link a wpf grid to an array? I want the user to be able to change the colour/image at a point in a grid, but to do this I need my "Map" array to say what should be displayed in this grid if that makes sense.
I am still relatively new to WPF, so while I do know about databindings and have used them, I am not experienced enough with them to attempt to use them like this. Any help would be greatly appreciated, cheers.
Was this page helpful?