How to count or return the last index of a DataGrid row? Apparently there's isn't a DataGrid.Count() property. I searched everywhere and I can't find an answer.
I could create a variable and use i++ as a counter for Row count, but doesn't a DataGrid has a built-in solution?