This is a migrated thread and some comments may be shown as answers.

In the ElementLoaded IsFloating is not filled correctly

0 Answers 22 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Pieter
Top achievements
Rank 2
Pieter asked on 02 Jul 2012, 07:44 AM
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?

No answers yet. Maybe you can help?

Tags
Docking
Asked by
Pieter
Top achievements
Rank 2
Share this question
or