I walked through the list of forums for setting width of dockPanel on Dock Manager.
Here is my scenario: (Design Time)
1. I have a dockManager1 placed on my ShapedForm
2. I add a dockpanel to the left. (Which Contains a tree structure)
In the Load method, the rek calls for screem partitioned into two in Shell/Home Form.
Fix or workaround is appreciated!!!
Pradeep
Here is my scenario: (Design Time)
1. I have a dockManager1 placed on my ShapedForm
2. I add a dockpanel to the left. (Which Contains a tree structure)
In the Load method, the rek calls for screem partitioned into two in Shell/Home Form.
private
void Shell_Load(object sender, EventArgs e){
dockingManager1.SuspendLayout();
dockPanel1.Size =
new System.Drawing.Size(200, dockPanel1.Size.Height);
dockingManager1.ResumeLayout();
}
The width doesnt set and occupies half of my host screen (not good).
Fix or workaround is appreciated!!!
Pradeep