This question is locked. New answers and comments are not allowed.
I'm trying to determine the index of a row that was the target row of the context menu. I can get the row, but in order to get the index of the row, the examples/responses in other posts is to do the following:
radGridView.Items.IndexOf(clickedGridRow.DataContext);
Does this loop through each row until you have matched the data item, and then return the index of the loop?
Why can't GridViewRow simply have a RowIndex property? Surely there is a way to get this value without looping over the collection.
radGridView.Items.IndexOf(clickedGridRow.DataContext);
Does this loop through each row until you have matched the data item, and then return the index of the loop?
Why can't GridViewRow simply have a RowIndex property? Surely there is a way to get this value without looping over the collection.