Hi, I'm creating my dockpanels in code(in a CAB workitem to be precise).
No matter what setting of the dockpanel I change, or call PerformLayout, etc..it always grows the panel to the entire width of the form.(The docking managers total available space)
The dock manager is in a usercontrol that is in a tab page of a radtabstrip. It covers the workable area of the form(below a ribbon bar).
What can do to fix this?!
DockPanel dockPanel = new DockPanel();
dockPanel.Text = "Solution Navigator";
dockPanel.PreferredDockSize = new System.Drawing.Size(50, 50);
dockPanel.PreferredFloatSize = new System.Drawing.Size(50, 50);
dockPanel.Size = new System.Drawing.Size(100, dockPanel.Size.Height);