UniformGrid does not behaves well with dynamic changes · Issue #2156 · CommunityToolkit/WindowsCommunityToolkit · GitHub
![c# - WPF: How to dynamically create a grid with x rows and y columns with consecutive numbers - Stack Overflow c# - WPF: How to dynamically create a grid with x rows and y columns with consecutive numbers - Stack Overflow](https://i.stack.imgur.com/VTW5l.png)
c# - WPF: How to dynamically create a grid with x rows and y columns with consecutive numbers - Stack Overflow
Handles the Click event on the UniformGrid : Event « Windows Presentation Foundation « C# / CSharp Tutorial
![In WPF, is it possible to specify the item's cell location within a UniformGrid panel? - Stack Overflow In WPF, is it possible to specify the item's cell location within a UniformGrid panel? - Stack Overflow](https://i.stack.imgur.com/GCBHH.png)