RadPane MinWidth?

2 posts, 0 answers
  1. Patrik
    Patrik avatar
    56 posts
    Member since:
    Jul 2010

    Posted 18 Aug 2011 Link to this post


    Is it possible to set a minimum width to a RadPane no matter what state it's in? See attached image for example. Setting the MinWidth property on either the splitcontainer or the RadPane itself doesn't seem to help.

    Best regards,
    Patrik Edberg
  2. Konstantina
    Konstantina avatar
    2332 posts

    Posted 23 Aug 2011 Link to this post

    Hello Patrik,

    In order to set the MinWidth of a pane, you have to set this to the RadSplitContainer. But, you have to set this in the style of the RadSplitContainer. You can very easy edit it in Expression Blend. Just drop a Docking control on the design surface, right-click the SplitContainer and choose from the menu Edit Template-> Edit a Copy. Then Blend will generate all the needed resources. Change the MinWidth value from the default of 15 to the desired one. In order to apply the style every time when the Panes are pinned/unpinned, etc you have to set these style implicitly, because the SplitContainers are redrawn when the state of the Pane is changed.

    Hope this information helps.

    All the best,
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

  3. DevCraft banner
Back to Top