Tuesday, September 9, 2014

Buttons inside DataGrid

I will try to put together example code for what I am doing.


If i understand what you're saying correctly, then yes, I need the code to point to the index of the row that the control is in but I don't know how to get that index. The only thing I can think of is using the GetHasCode for the control and looping through all the rows until the control is found and grabbing the index that way. But even then, I can't figure out how to reference the controls; I can only seem to loop through the items that the list is bound to.


No comments:

Post a Comment