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
1255
An event to get the current layout xml?
posted

What is the best way to monitor the Layout of a XamDockManager?  Is there a single event I can handle when a user moves a pane or changes the layout in any way? Or can you suggest several events to handle?  What about when I programmatically call LoadLayout?

In MVVM architecture I have to bind the Layout Xml to a property on my ViewModel.  I am building an Attached behavior to do this but can't find the correct event to handle to update my xml string.  I already have an attached behavior to facilitate loading a layout from my LayoutInfo object.  But but I'm having trouble getting the xml from the dock manager to my VM property when the user has customized their current layout.

Any suggestions are very much appreciated!

thanks.

Parents Reply Children