Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
20
Property Binding DocumentContentHost
posted

Hello!

I have a XamDockManager with a DocumentContentHost. I've implemented a UserControl with some custom DependencyProperties. At runtime I add the UserControl in a ContentPane.

Now I got the problem if I switch the Tab Doc Page, all my custom Properties are reset to the inital default values (go to the next page and switch back).

It seems this is only the case in the main control (UserControl). All child controls keep the current state.

How can I prevent the property reset on pane activation?

thx benni