Sunday, March 20, 2011

silverlight 4.0 runtime hide grid row.?

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

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

0 comments:

Post a Comment