Keep size of pane the same when undocking

2 posts, 1 answers
  1. Marcel
    Marcel avatar
    32 posts
    Member since:
    Jan 2014

    Posted 18 Apr Link to this post



    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:

    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?



  2. Answer
    Kalin avatar
    1189 posts

    Posted 20 Apr Link to this post

    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.

    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  3. DevCraft R3 2016 release webinar banner
Back to Top