I have a xaml file with buttons like this
<Button Grid.Column="4" BorderThickness="0">3</Button>
<Button Grid.Column="5" BorderThickness="0">4</Button>
The Problem is I can't manage to control the buttons in C#. I've read about templates and resources and tried it but I am unsure if I did was correct.
Most examples online just have a click function but I wan't full control of the button having all of them in a 2D Array and changing them when I want to.
So How do I point to a button created in the xaml file so that I could do
button.Content = "test";
or whatever.