Is there a way to get the rowadded event to fire when the grid loses focus as opposed to when tabbing to a new row?
Hi,
If you're in edit mode of an AddNewRow, event will already fire when the xamgrid looses focus. It actually happens as soon as the row loses focus.
As for controlling the specific circumstances, thats not really possible. I suppose you could try listening to the ActiveCellChanging event, and cancel it if you're currently editing an AddNewRow.
-SteveZ
"If you're in edit mode of an AddNewRow, event will already fire when the xamgrid looses focus. It actually happens as soon as the row loses focus. "
I think there are scenarios where this isn't the case. I'll see if I can get some reproducible code.
I double checked what I have. I think the issue may be is that the grid can't 'lose focus' if its inside the wizard control I'm using (http://silverlightwizard.codeplex.com/). I found a work around for what I needed though.