How do I use the KeyDown event on a DataGrid

Hello I was wondering if there is a way to select a row in a datagrid if you navigate in it using arrowkeys. i have this onMouseUp, should do the same with arrowkeys but I don''t know how. I''m working with C#...

Loader.
Up arrow icon