I have a simple WPF form with a Grid declared on the form. This Grid has a bunch of rows:
Grid
Simply do this:rowToHide.Height = new GridLength(0);
rowToHide.Height = new GridLength(0);
if u will use visibility.Collapse then u have to set it for every member of the row.
visibility.Collapse