I have a panel that renders a special header, this works all fine and good - but when I dock other controls inside of that panel, they size to fit underneath the header.
My thought was to try and catch this and control it somewhere. Getting the DisplayArea doesn't work - then the header doesn't draw in the right place. Is there any way I can tell docking to account for the height of the header?
Using C#, Windows Forms, .NET 3.5
Panel : System.Windows.Forms.UserControl Header : System.Windows.Forms.UserControl
Panel { Header { get; set; } }
is the basic structure. It's not terribly complicated.