In the ElementLoaded IsFloating is not filled correctly

1 posts, 0 answers
  1. Pieter
    Pieter avatar
    34 posts
    Member since:
    Jan 2011

    Posted 02 Jul 2012 Link to this post

    My application saves the layout when exiting, and restores the layout when starting.
    The specs tell me the restored layout has to be exactly the same as the layout when exiting the application.

    For floating panes the size of the restored layout is incorrect, it is the size with which the pane was created, not the last size.
    I think this is a bug.

    To fix this I store the size of the pane myself when exiting the application, and try to set it in the ElementLoaded Event whens starting again. However only Floating panes should get the size they had before exiting the applications, the other panes are in the RadDocking layout and sized correctly.

    The problem I'm facing is that the IslFloating property of floating panes is false in the ElementLoaded. So I can not detect which panes are floating. This is the second bug I think.

    Does anyone have a clue how to solve the problem of the incorrect size of the restored pane?
Back to Top