Does anyone have an idea on how to hide a grid row at runtime?
You cannot set its Visibility, the only way to do it is to set its height to 0. Assuming the grid's name is LayoutRoot and you want to hide the first row:
LayoutRoot.RowDefinitions[0].Height = new GridLength(0);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With