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

How to localize a floating window

Thread ID:





74132 May 30,2008 03:28 PM UTC Jun 5,2008 05:34 PM UTC WinForms 2
Tags: Tools
Administrator [Syncfusion]
Asked On May 30, 2008 03:28 PM UTC


We are currently evaluating Syncfusion and we encountered a strange issue.

To do the localization dynamically we use an algorithm that recursively call ApplyResource on mainform control child.

When a window state changed from docked to floating, there is a new hidden form that is created that host this window that is no more a descendant of the mainform.

As the link to the mainform is removed on the floating window the algorithm does not recurse on its child controls.

How can I retrieve this hidden floating form to apply the same algo ?

We were looking on DockingManager properties and somes looked promising but there are not public.

We are using 6.2 and we are in the process of purchasing syncfusion essential tools.

Thanks in advance

Administrator [Syncfusion]
Replied On June 3, 2008 11:42 AM UTC

Hi Karim,

Sorry for the delayed response.

Localizing Float window

Can you please refer the shipped sample from the below location that demonstrates on localizing docked windows. Localization will also apply when you change the docked state to FloatWindow.

\My Documents\Syncfusion\EssentialStudio\\Windows\Tools.Windows\Samples\2.0\Localization Demos\LocalizationDemo

Please refer the sample and let me know if this helps you.


Administrator [Syncfusion]
Replied On June 5, 2008 05:34 PM UTC

Thank you for your answer. The demo is not an example of dynamic localization.

I found a temporary fix.

I use the docking manager ControlsArray collection that contains all dockable controls (for an instance). The code looks like this where DynamicCultureChange is a recursive method on all children controls.
It works but if I could get all the floating user controls or form it will be more efficient. Any idea ?

foreach (Control ctrl in this.dockingManager1.ControlsArray) // browse dockable controls (forms & user control)
if ((this.dockingManager1.IsFloating(ctrl)) && (ctrl is UserControl))
// If there are floating localize them as they will not be localized as a mainform descendant



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