Tool Window To Size of Content

2 posts, 0 answers
  1. heavywoody
    heavywoody avatar
    79 posts
    Member since:
    Oct 2009

    Posted 12 Mar 2013 Link to this post

    I am trying to get the tool window to expand to the size of the content.   For example, I put UserControls in different Windows, some being 600 width.   But I never know beforehand what the exact size is.  Is there anyway to have ToolWindow behave like a standard window and just expand itself to its content while setting a Max size so it doesn't go overboard?
  2. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 15 Mar 2013 Link to this post

    Hello,

    I am afraid this is not possible with the current implementation of the control. Even if you create new factory for the ToolWindows, the RadDocking resets its size after that.

    All the best,
    Konstantina
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. UI for WPF is Visual Studio 2017 Ready
Back to Top