Saving Layout

2 posts, 0 answers
  1. Justin
    Justin avatar
    1 posts
    Member since:
    Jun 2013

    Posted 05 Aug 2013 Link to this post

    I am trying to create a DependencyProperty to persist the layout of my docking panes.  I am running into an issue when I float the docking pane, close the window and then call LoadLayout when opening the window again.  I have narrowed the issue down to which event I catch to save the layout.  If I catch the RadDocking unloaded event the xml produced in the save layout doesn't work like I would like it too.  If I catch the closed event on the Window then life is good and the floating window restores correctly (because this is an attached property this is not a valid work around).  The difference in the xml is the IsInOpenWindow attribute, when I save from the window closed this value is false and when I save from the RadDocking unloaded event the value is true.  I understand why this occurs, the closed event occurs before the RadDocking unloaded event.  My question is when is the best time(what is the best event to catch) to save the layout of the docking windows without requiring intervention from the user?


    I am willing to provide code if that would help.
  2. Kalin
    Kalin avatar
    1283 posts

    Posted 08 Aug 2013 Link to this post


    We tried to recreate the explained scenario, but we were not able to reproduce the floating window behavior as described. However I have recorded and attached here video which demonstrates saving/loading a layout with/without floating windows. The video uses an example from our online XAML SDK repository which can be found on the following link:

    Could you please provide us with more detailed information about the DependencyProperty and the exact setup in a support ticket. Also if you can send us a sample project it will be really helpful.

    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
Back to Top