Grid Property Changed

I know how to do the foreach method but I don’t want it to go through the entire grid. I want it to return the first row.