I have a fairly simple RadDocking control with a main document host and bottom split container with two tabs...
I have set the MinHeight property on the RadSplitContainer which seems to restrict the height of the two RadPanes when they are pinned open. If I however unpin the panes, I am able to change their heights (when hovered and opened of course) to whatever I like...
How can I restrict the heights to a minimum value when they are pinned and unpinned?
This is an important feature for me because my RadPanes contain charts which look ridiculous if we allow the user to change the height to a small value...
Thanks in advance.
<
telerik:RadDocking
>
<!-- Main Content -->
<
telerik:RadDocking.DocumentHost
>
<
telerik:RadSplitContainer
>
<
telerik:RadPaneGroup
>
<
telerik:RadPane
CanUserClose
=
"False"
>
<
Border
Background
=
"YellowGreen"
BorderBrush
=
"Green"
BorderThickness
=
"3"
>
<
TextBlock
Text
=
"Main"
Foreground
=
"Green"
FontSize
=
"14"
FontWeight
=
"Bold"
VerticalAlignment
=
"Center"
HorizontalAlignment
=
"Center"
/>
</
Border
>
</
telerik:RadPane
>
</
telerik:RadPaneGroup
>
</
telerik:RadSplitContainer
>
</
telerik:RadDocking.DocumentHost
>
<!-- Panels (Bottom) -->
<
telerik:RadSplitContainer
InitialPosition
=
"DockedBottom"
telerik:DockingPanel.InitialSize
=
"1,280"
telerik:RadDocking.SerializationTag
=
"SplitBottom"
MinHeight
=
"250"
>
<
telerik:RadPaneGroup
TabStripPlacement
=
"Bottom"
TabOrientation
=
"Horizontal"
>
<!-- Panel 1 -->
<
telerik:RadPane
Title
=
"x1"
Header
=
"x2"
CanUserClose
=
"False"
CanFloat
=
"False"
CanDockInDocumentHost
=
"False"
>
<
Border
Background
=
"LightBlue"
BorderBrush
=
"Navy"
BorderThickness
=
"3"
>
<
TextBlock
Text
=
"Panel 1"
Foreground
=
"Navy"
FontSize
=
"14"
FontWeight
=
"Bold"
VerticalAlignment
=
"Center"
HorizontalAlignment
=
"Center"
/>
</
Border
>
</
telerik:RadPane
>
<!-- Panel 2 -->
<
telerik:RadPane
Title
=
"y1"
Header
=
"y2"
CanUserClose
=
"False"
CanFloat
=
"False"
CanDockInDocumentHost
=
"False"
>
<
Border
Background
=
"Pink"
BorderBrush
=
"Red"
BorderThickness
=
"3"
>
<
TextBlock
Text
=
"Panel 2"
Foreground
=
"Red"
FontSize
=
"14"
FontWeight
=
"Bold"
VerticalAlignment
=
"Center"
HorizontalAlignment
=
"Center"
/>
</
Border
>
</
telerik:RadPane
>
</
telerik:RadPaneGroup
>
</
telerik:RadSplitContainer
>
</
telerik:RadDocking
>
I have set the MinHeight property on the RadSplitContainer which seems to restrict the height of the two RadPanes when they are pinned open. If I however unpin the panes, I am able to change their heights (when hovered and opened of course) to whatever I like...
How can I restrict the heights to a minimum value when they are pinned and unpinned?
This is an important feature for me because my RadPanes contain charts which look ridiculous if we allow the user to change the height to a small value...
Thanks in advance.