This is a migrated thread and some comments may be shown as answers.
RadPane MinWidth?
1 Answer 38 Views
This is a migrated thread and some comments may be shown as answers.
Patrik
Top achievements
Rank 1
Patrik asked on 18 Aug 2011, 04:52 PM
Hello!

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

1 Answer, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 23 Aug 2011, 01:24 PM
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,
Konstantina
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 >>

Asked by
Patrik
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Share this question
or