none
Debugging Grid Layout - Layout Lines? RRS feed

  • Question

  • I thought I had seen a way to turn on grid row and column layout lines when debugging an application so it was easy to see how the rows and columns were laid out (e.g. what you see in the XAML design view except in your application at run time).  However I can't find this doing information anymore - maybe it was my imagination.
    Friday, January 8, 2010 9:14 PM

Answers

  • There is a property on Grid that you can set...

     

    <Grid ShowGridLines="True"></Grid>

     

    Hope this helps.


    Matt Hohn
    • Proposed as answer by Olaf Rabbachin Saturday, January 9, 2010 10:45 AM
    • Marked as answer by Linda Liu Monday, January 11, 2010 10:30 AM
    Friday, January 8, 2010 10:44 PM

All replies

  • There is a property on Grid that you can set...

     

    <Grid ShowGridLines="True"></Grid>

     

    Hope this helps.


    Matt Hohn
    • Proposed as answer by Olaf Rabbachin Saturday, January 9, 2010 10:45 AM
    • Marked as answer by Linda Liu Monday, January 11, 2010 10:30 AM
    Friday, January 8, 2010 10:44 PM
  • Thanks - that was it - strange that a popular search engine failed to show it... next time I'll try bing... :)
    Monday, January 11, 2010 2:08 PM