locked
How to make all rows in a grid the same distance between the rows? RRS feed

  • Question

  • Forgive the stupid questin but I can't seem to find it on the web

    I put a grid in Blend and added 5 rows. How do I make the distance between all the rows the same?
    Thank YOu

     

    Sunday, January 2, 2011 8:48 PM

Answers

  • If you want all of the rows the same size (or proportional to each other) you should use star sizing.

    This page gives some info about grid sizing:

    http://www.wpftutorial.net/GridLayout.html

    • Proposed as answer by Chuck HaysModerator Tuesday, January 4, 2011 2:57 PM
    • Marked as answer by mutlyp Tuesday, January 4, 2011 3:39 PM
    Tuesday, January 4, 2011 2:56 PM
    Moderator