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.
1 Answer, 1 is accepted
answered on 23 Aug 2011, 01:24 PM
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 >>