You might need to bind Value property of the DataGrid to a Page property to preserve the selected item. For example: