WPF: Why all the love for the Grid control?

Posted by Eduardo Molteni on Stack Overflow See other posts from Stack Overflow or by Eduardo Molteni
Published on 2010-03-15T15:38:10Z Indexed on 2010/03/15 15:39 UTC
Read the original article Hit count: 293

Filed under:
|
|
|

Seen various examples of WPF applications I've seen the use of the Grid control for almost anything, even simplest things with only 1 column or row.

Also, the WPF templates start with an empty grid.

For me, using StackPanel or DockPanel is less verbose and are better for maintenance (think adding a row later and having to add +1 to all the other rows)

Why is Grid better or what I am missing?

© Stack Overflow or respective owner

Related posts about wpf

Related posts about grid