AD
Administrator
Syncfusion Team
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\ 6.2.0.40\Windows\Tools.Windows\Samples\2.0\Localization Demos\LocalizationDemo
Please refer the sample and let me know if this helps you.
Regards,
Jaya
AD
Administrator
Syncfusion Team
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
ExtendedCultureInfo.DynamicCultureChange(ctrl);
}
}