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

Docking Windows

Thread ID:

Created:

Updated:

Platform:

Replies:

24056 Jan 27,2005 01:30 PM UTC Feb 3,2005 04:29 PM UTC WinForms 3
loading
Tags: Tools
Doug Finke
Asked On January 27, 2005 01:30 PM UTC

In the application, I have docked windows, I drag one off to make it floating. I''d like to add a menu option to click that will re-dock all the floating windows. Does the docking manager have a property for this?

Administrator [Syncfusion]
Replied On January 29, 2005 02:55 AM UTC

Hi Doug, I am afraid, I need more information here. Do you wish to add a new BarItem to the DockContextMenu that will redock all the floating windows or do you wish to have a BarItem in the main form''s menus that would perform this action on Click ? Regards, Guru Patwal Syncfusion, Inc.

Doug Finke
Replied On February 1, 2005 04:18 PM UTC

I am looking for info on whether or not the DockingManager has a property or is there a way to re-dock all floating panels in an application. Thanks >Hi Doug, > >I am afraid, I need more information here. Do you wish to add a new BarItem to the DockContextMenu that will redock all the floating windows or do you wish to have a BarItem in the main form''s menus that would perform this action on Click ? > >Regards, >Guru Patwal >Syncfusion, Inc.

Administrator [Syncfusion]
Replied On February 3, 2005 04:29 PM UTC

Hi Doug, Currently there is no built in method for doing that. However, this is on our To Do List and we will try to get this implemented soon. Currently this is the closest possible [See code snippet], However the problem is that it does not have the same efffect as double clicking the floating controls, you need to specify the docking position of the floating controls again. IEnumerator ienum = this.dockingManager1.Controls; ArrayList dockedctrls = new ArrayList(); while(ienum.MoveNext()) dockedctrls.Add(ienum.Current); foreach(Control ctrl in dockedctrls) { if(this.dockingManager1.IsFloating(ctrl)) { this.dockingManager1.DockControl(ctrl,this, DockingStyle.Left,ctrl.Size.Width); } } Thanks, Stephen. >I am looking for info on whether or not the DockingManager has a property or is there a way to re-dock all floating panels in an application. > >Thanks > >>Hi Doug, >> >>I am afraid, I need more information here. Do you wish to add a new BarItem to the DockContextMenu that will redock all the floating windows or do you wish to have a BarItem in the main form''s menus that would perform this action on Click ? >> >>Regards, >>Guru Patwal >>Syncfusion, Inc.

CONFIRMATION

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.

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

;