Question

I'm using Syncfusion 6.1 to dock my controls in my main Form in C#.NET. When I use below code to show my control, I can't find some controls in my form.

MainPageDockingManager.SetDockVisibility(myControl, true);

I know that Syncfusion store the state of the docked windows and I think my controls are out of my screen range.

Était-ce utile?

La solution

Syncfusion stores its docking information in "SyncfusionToolsStateInfo.bin" file. if you want to reset your docking information, you can delete this file. You determined the address of "SyncfusionToolsStateInfo.bin" file in syncfusion setup.

Also you can use below code to dock your window to your main form:

mainPageDockingManager.SetDockVisibility(controlName, true);
mainPageDockingManager.DockControl(controlName, this, DockingStyle.Right, 150);

"this" object is the reference of your main form. After executing the code, you can save the state of your windows.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top