Prevent Toolwindow from resizing

2 posts, 0 answers
  1. msulis
    msulis avatar
    17 posts
    Member since:
    Apr 2007

    Posted 31 May 2010 Link to this post

    I'm sure this must be simple, but I can't figure out how to do it.

    When I resize a raddock with a toolwindow on the side, the toolwindow resizes proportionately along with the whole dock. I want to keep the toolwindow on the side the same size always, and allow the "slack" to be taken up by the other toolwindows.

    I can't seem to find a MaximumSize property for the Toolwindow.

    How do I do this?
  2. Nikolay
    Admin
    Nikolay avatar
    1803 posts

    Posted 03 Jun 2010 Link to this post

    Hello msulis,

    Thank you for the question.

    The layout of RadDock is based on the RadSplitContainer control. So, you just need to set the SizeMode to Absolute:
    this.toolWindow1.TabStrip.SizeInfo.SizeMode = SplitPanelSizeMode.Absolute;

    Please note, however, that the document container should be hidden in this case:
    this.radDock1.MainDocumentContainerVisible = false;

    I hope this helps. If you have additional questions, feel free to contact me.

    Kind regards,
    Nikolay
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top