We consider purchasing the Syncfusion Studio to be used in our new product. I'm doing the POC of using the Syncfusion Docking Library as a backbone of our IDE style application (like Eclipse, Visual Studio etc).
I ran into the problem I cannot overcome and understand. I created a sample to illustrate the issue. Please have a look:
public MainForm()
{
InitializeComponent();
// create a red view
this.red = new SizeView();
this.red.ForeColor = Color.Red;
this.Controls.Add(red);
// create a blue control
this.blue = new SizeView();
this.blue.ForeColor = Color.Blue;
this.Controls.Add(blue);
// set some docking mgr properties
this.dockMgr.DockToFill = false;
this.dockMgr.PersistState = false;
// dock red view to the right edge of the form with the width = 200 - works great!
this.dockMgr.DockControl(this.red, this, DockingStyle.Right, 200);
// dock blue view to the top of the red view with the height = 250 - makes the width of red and blue views = 502! Why?!
this.dockMgr.DockControl(this.blue, this.red, DockingStyle.Top, 250);
}
This code is shortened from what I have in the sample. Please run the sample to see the problem.
Thanks,
Andrey.
SyncFusionPOC.zip