views:

39

answers:

1

Any one have idea how to runtime tide grid row.?

+3  A: 

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);
Francesco De Vittori
Thank you.it's working..
Pratik
Mark it as right answer if it is working :)
Samvel Siradeghyan