This presumes you want to create a transparent overlay layer over all of your elements and center a loading text to the middle of the application.
In my case I had a grid with three rows, hence the Grid.RowSpan="3".


   
      

If you change the Canvas name be sure to modify the ElementName in the DockPanel attributes.

Reference:
http://stackoverflow.com/questions/13621041/stretch-items-to-fill-canvas