I have a datagrid which the user can add records to.
If a certain item already exists, I want to scroll to the relevant row and highlight it.
I can’t find how to enumerate the rows in the datagrid, I know how to find the item in the observable collection, but can’t find how to find the relevant row.
Also, highlight tips would be welcome, I haven’t done animations at all yet.
I created a sample application to check whether newly added item already exists in datagrid or not. If it exists then select it and scroll into view that row. I didnot write for the condition where newly added item doesnot exist in datagrid.