Temporarily highlight added datagrid row?

Mar 8, 2010 at 10:07 PM

Hi all,

I have a control with a datagrid, and I have a button that will add a new row to the datagrid with values specified in other input fields on the screen. (I don't allow the user to directly type in the grid to add a row).  My question is, would it be possible to temporarily highlight the row in the grid once it's been added so the user can easily see where in the grid the row is?  Also, I'm using the MVVM pattern with this project, so if it can be done without any code-behind, that would be great.  Thanks ahead for any input/ideas.