Posted 15 years ago
by Phil Devaney
-
Senior Software Engineer,
Serck Controls Ltd
Version: 9.1.0503
Platform: .NET 3.5
Environment: Windows Vista (64-bit)
My application has a multilingual user interface that needs to change language without restarting the application. To implement this I am using data-binding extensively, but when I bind the Title property of a ToolWindow, the binding is lost if I restore the window layout with DockSiteLayoutSerializer and the Title is set to value that was serialized.
I have emailed a simple sample to support that demonstrates the problem. The sample has a single ToolWindow with three buttons that toggle its Title (via data-binding). The window layout is serialized in Window.Loaded & Window.Closing. The first time the app is run the buttons work, but if the app is restarted they don't as the layout has been serialized. Delete user.config and restart, and the buttons work again.
Phil
I have emailed a simple sample to support that demonstrates the problem. The sample has a single ToolWindow with three buttons that toggle its Title (via data-binding). The window layout is serialized in Window.Loaded & Window.Closing. The first time the app is run the buttons work, but if the app is restarted they don't as the layout has been serialized. Delete user.config and restart, and the buttons work again.
Phil