Wednesday, June 24, 2015

how to make grid to show 100% for xaml?

I had a little struggle to archive this, finally found that it is just as simple as setting both HorizontalAlignment and VerticalAlignment = "Stretch".
also if you have separate your grid to 3 column, set your Grid.ColumnSpan="3";
finally, remember to set MinHeight="" and MinWidth="" instead of height n width.

happy coding.

No comments:

Post a Comment