I have a Grid and I know the X-value and Y-Value of where I clicked with my mouse.
Example: X: 235, Y: 235 --> This should be Column: 3 and Row: 3
How Do I get what column and Row is on that x,y coordinate?
Do I really need to add every width of the rows/columns till I get to the required x/y value?
I'm using WPF (for my grid) & c# (for the x & y position)
Can anybody help me with this?