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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Changing the floating state

Thread ID:





2795 Feb 14,2003 12:41 AM UTC Feb 14,2003 06:06 PM UTC WinForms 1
Tags: Tools
Bruno Vais
Asked On February 14, 2003 12:41 AM UTC

Am I supposed to track the state of a control when I want to alter its floating state? Example: if I want to switch from MDIChild to FloatNotDockable, calling SetFloatOnly(control,true) should do it, but it doesn't. Am I missing something here?

Prakash S [Syncfusion]
Replied On February 14, 2003 06:06 PM UTC

Looks like the DockingManager.SetFloatOnly(Control, bool) method works as intended only when the Control is a true docking window, and not an MDI child. I will go ahead and file a report and we will fix the problem for a future release of Essential Tools. In the meantime, you can workaround this condition by first setting the control as a docking window through the DockingManager.SetAsMDIChild(Control, false) method and then calling the SetFloatOnly() method. The following code should give you an idea, if(this.dwCurrent.Parent is Syncfusion.Windows.Forms.Tools.DockingWrapperForm) { // The docking window is set as an MDI child this.dockingManager1.SetAsMDIChild(this.dwCurrent, false); this.dockingManager1.SetFloatOnly(this.dwCurrent, true); } else { this.dockingManager1.SetFloatOnly(this.dwCurrent, true); } Prakash Syncfusion


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon