Hi Patrick,
You could do so by accessing the DockInfo object associated with each docking window. The DockInfo object''s dStyle property specifies the DockingStyle and the rcDockArea specifies the rectangle that contains the docking window. Please refer to the code snippet below :
Syncfusion.Windows.Forms.Tools.DockHost dhost = panel.Parent as Syncfusion.Windows.Forms.Tools.DockHost;
Syncfusion.Windows.Forms.Tools.DockHostController dhc = dhost.InternalController as Syncfusion.Windows.Forms.Tools.DockHostController;
Syncfusion.Windows.Forms.Tools.DockInfo di = dhc.GetSerCurrentDI();
left = di.rcDockArea.Left;
top = di.rcDockArea.Top;
bottom = di.rcDockArea.Bottom;
right = di.rcDockArea.Right;
string dockStyle = di.dStyle.ToString();
I have attached a
complete sample here which illustrates the above. Let me know if you need any additional information.
Regards,
Guru Patwal
Syncfusion, Inc.