Access footer or header in DataGrid!

I got annoyed that I had to use foreach or use the OnItemCreated event to access the footer. If I can just have a simple form where I add rows, I could integrate the form into the grid by using footer. Why loop when you can access directly?