March 12, 2012
Ditch the Grids and Use DockPanels
I have worked extensively with WinForms and WPF/Silverlight and noticed that docking/dock panels are not used that often. At least this is the case where I work. I find this surprising given their power and ease of use.
Using XAML, why would a programmer choose a complex Grid/StackPanel setup over a DockPanel? Or on the WinForms side, set the anchor properties for control rather than simplify things with the dock property?
Read more