We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Floating multiple tabbed controls programmatically

I have 2 tabbed controls. I am able to float them together using the mouse, but how do I do this programmatically? Thanks

2 Replies

PS Prakash S Syncfusion Team February 7, 2003 05:28 PM UTC

Hi Bruno, Invoke the DockingManager.FloatControl() method on one of the controls within the tab group. This will remove the particular Control from the docked group and float it using the specified bounds. Now call the DockingManager.DockControl() method on each of the remaining Controls in the tabbed group, using the initially floated Control as the 'parent' and 'Syncfusion.Windows.Forms.Tools.DockingStyle.Tabbed' for the 'style' parameter. Prakash Syncfusion


PS Prakash S Syncfusion Team February 7, 2003 05:34 PM UTC

Hi Bruno, Invoke the DockingManager.FloatControl() method on one of the controls within the tab group. This will remove the particular Control from the docked group and float it using the specified bounds. Now call the DockingManager.DockControl() method on each of the remaining Controls in the tabbed group, using the initially floated Control as the 'parent' and 'Syncfusion.Windows.Forms.Tools.DockingStyle.Tabbed' for the 'style' parameter. Prakash Syncfusion

Loader.
Live Chat Icon For mobile
Up arrow icon