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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Floating windows

Thread ID:





92403 Jan 12,2010 07:38 PM UTC Jan 21,2010 01:48 PM UTC WinForms 3
Tags: Tools
Razvan Herdea
Asked On January 12, 2010 07:38 PM UTC

So far when the user sets windows as floating, the whole application (all open floating windows and the parent form) show up when the user clicks on one of them.

Is it possible to have a setup in which only a certain window comes on top?

Thank you,


Rajasekar B [Syncfusion]
Replied On January 13, 2010 03:21 PM UTC

Hi Razvan,

When the window is made to float, it will be shown on the top. So all the floating windows will be displayed on the top. This is the behavior of the floating window.

If you want to show any particular window, you can hide other windows using,

And show it using,

If you want to access all the docked controls, you can use
IEnumerator dockedControls = dockingManager.Controls;

It will return an enumerator. So you can iterate through the docked controls collection. Let me know if you have nay question.


Razvan Herdea
Replied On January 20, 2010 02:06 PM UTC


Thanks for your answer. I still wanted a solution to my problem and I found the one below. When the control is floated, in the associated event I change it's "frame" to behave as an independent window. Do you think this may cause any problems? So far seems to be OK. it even allows the user to re-dock the control.



private void dockManager_DockStateChanged(object sender, Syncfusion.Windows.Forms.Tools.DockStateChangeEventArgs arg)
foreach (Control ctrl in arg.Controls)
if (this.dockManager.IsFloating(ctrl))
//when floating make it look like a regular form, with no parent
FloatingForm form = (FloatingForm)((DockHost)ctrl.Parent).ParentForm;
form.FormBorderStyle = FormBorderStyle.Sizable;
form.Owner = null;
form.ShowInTaskbar = true;
form.WindowState = FormWindowState.Normal;


Rajasekar B [Syncfusion]
Replied On January 21, 2010 01:48 PM UTC

Hi Razvan,

Changing the frame for the floating window will not cause any problem. But the caption text will overlap the icon. You can make the icon invisble by


Let me know if you have any question.



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

or the page will be automatically redirected to 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