Anyone know how i can achive this result of selecting the entire row from the datagrid in code like this

thks