|118839||Apr 14,2015 09:44 AM||Apr 20,2015 10:25 AM||Windows Forms||7|
Thank you for your update.
In Docking Manager, controls dock alignment will be specified based on available space in Parent Form. So it is needed for user, to specify the dock alignment based on requirement.
Based on this reported case, user need to dock panel at the bottom position of parent form, where already two panels are docked in right and left alignment.
So as we have explained, when setting dock alignment for Panel 3 at the bottom, it will be occupied only in remaining space of parent form. And to dock the Panel 3 at bottom of the parent form, it is needed for user to rearrange docking alignment. Please make use of below code snippet for your reference.
private void button1_Click(object sender, EventArgs e)
dockingManager1.DockControl(panel3, this, DockingStyle.Bottom, 150);
//Re docking the panels.
dockingManager1.DockControl(panel1, this, DockingStyle.Left, 150);
dockingManager1.DockControl(panel2, this, DockingStyle.Right, 150);
We have also prepared sample for your reference and it can be downloaded from below location.
Could you please look into the sample and kindly let us know if it helps? Otherwise please share us more details about this requirement. So that we can analyze and provide prompt solution as earlier as possible.
Please let us know if you need any further assistance,
Video Location: http://www.syncfusion.com/downloads/support/forum/118839/DockingWindows2021599930.zip
Query 2: Incorrect information in our documentation links?
We would like to thank you for notifying this case. We have notified our documentation team about this case and it will be modified as earlier as possible.
Query 3: Problem with AutoHidden control bounds?
In Docking Manager, docked controls LayoutRect value will be calculated, based on its docked control bounds and parent form bounds. So once control is set to Auto Hidden, its bounds will be updated to default Auto Hidden bounds. Hence for AutoHidden control, default bounds will be returned.
Please let us know if you need any further assistance.
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.