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

Keep size of pane the same when undocking

1 Answer 49 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Marcel
Top achievements
Rank 1
Marcel asked on 18 Apr 2016, 09:42 AM

Hello,

 

I have a question about keeping the size of a pane thats being undocked the same as the size when it was docked.

I found another post: http://www.telerik.com/forums/how-to-keep-the-size-of-a-floating-pane-equal-to-the-size-of-the-pane-being-docked

But the solution which is given here sets the size to an particular value, I want to keep the same value as when it was docked.

I saw release 2015 Q2 has a property RetainPaneSizeMode for this, but I am still using 2015 Q1.

How can I accomplish this with the 2015 Q1 release?

Regards,

Marcel

1 Answer, 1 is accepted

Sort by
0
Accepted
Kalin
Telerik team
answered on 20 Apr 2016, 06:48 AM
Hi Marcel,

I'm afraid there isn't a straight forward approach for achieving that without using the RetainPaneSizeMode property. For versions earlier than 2015 Q2 you could try to persist the ToolWindow size once it is docked and set it back once undocked as discussed in the forum post you have mention. However what I can recommend you would be to upgrade to the latest release version.

Hope this helps.

Regards,
Kalin
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
Docking
Asked by
Marcel
Top achievements
Rank 1
Answers by
Kalin
Telerik team
Share this question
or