Thank you for the prompt reply. The blog you supplied as a reference is the one I'm currently looking into now, however, there appears to be a bug as I get the following error for this line of code:
Grid rootGrid = gridView.ChildrenOfType<Grid>();
Cannot apply indexing with  to an expression of type 'System.Collections.Generic.IEnumerable<System.Windows.Controls.Grid>'
I can't seem to figure out why this would throw this error if others have been successful using it. Can you help with this error?