Dock property demystified

Many times while designing the layout for a Form, I will use Panels docked to various positions, with controls docked fill inside them. On occasion, for reasons previously unknown to me, the Panels would just not dock the way I wanted them to. Things usually go off without a hitch when the entire layout is [...]