XAML Grid children add error: Parameter is incorrect

Quick tip: one way to solve this strange and sometimes very annoying error is simply to perform a rebuild.