Hi,
I try to build a layout defined in the sample image attached.
The principle is that each module has a fixed position, but the size can be changed by the user, in a min / max range.
Here is my code :
Is this the good way to achieve this?
How can I specify the min and max size (height or width) for the RadPaneGroup ? (the given example has unexpected behaviour, as in the second capture)
Regards
Philippe
I try to build a layout defined in the sample image attached.
The principle is that each module has a fixed position, but the size can be changed by the user, in a min / max range.
Here is my code :
<
Window
x:Class
=
"WpfApplication2.MainWindow"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
Title
=
"MainWindow"
>
<
Window.Resources
>
<
Style
x:Key
=
"DefaultRadPaneStyle"
TargetType
=
"telerik:RadPane"
>
<
Setter
Property
=
"Focusable"
Value
=
"False"
/>
<
Setter
Property
=
"PaneHeaderVisibility"
Value
=
"Collapsed"
/>
<
Setter
Property
=
"CanUserClose"
Value
=
"False"
/>
<
Setter
Property
=
"CanFloat"
Value
=
"False"
/>
<
Setter
Property
=
"CanDockInDocumentHost"
Value
=
"False"
/>
<
Setter
Property
=
"CanUserPin"
Value
=
"False"
/>
<
Setter
Property
=
"IsPinned"
Value
=
"True"
/>
<
Setter
Property
=
"ContextMenuTemplate"
Value
=
"{x:Null}"
/>
</
Style
>
</
Window.Resources
>
<
Grid
>
<
telerik:RadDocking
x:Name
=
"docking"
AllowUnsafeMode
=
"True"
>
<
telerik:RadDocking.DocumentHost
>
<
Grid
/>
</
telerik:RadDocking.DocumentHost
>
<
telerik:RadSplitContainer
Orientation
=
"Vertical"
InitialPosition
=
"DockedLeft"
Width
=
"300"
MinWidth
=
"100"
MaxWidth
=
"400"
>
<
telerik:RadPaneGroup
MinHeight
=
"100"
MaxHeight
=
"300"
>
<
telerik:RadPane
Style
=
"{StaticResource DefaultRadPaneStyle}"
/>
</
telerik:RadPaneGroup
>
<
telerik:RadPaneGroup
>
<
telerik:RadPane
Style
=
"{StaticResource DefaultRadPaneStyle}"
/>
</
telerik:RadPaneGroup
>
<
telerik:RadPaneGroup
>
<
telerik:RadPane
Style
=
"{StaticResource DefaultRadPaneStyle}"
/>
</
telerik:RadPaneGroup
>
</
telerik:RadSplitContainer
>
<
telerik:RadSplitContainer
Orientation
=
"Horizontal"
InitialPosition
=
"DockedBottom"
Height
=
"300"
MinHeight
=
"100"
MaxHeight
=
"400"
>
<
telerik:RadPaneGroup
>
<
telerik:RadPane
Style
=
"{StaticResource DefaultRadPaneStyle}"
>
</
telerik:RadPane
>
</
telerik:RadPaneGroup
>
<
telerik:RadPaneGroup
>
<
telerik:RadPane
Style
=
"{StaticResource DefaultRadPaneStyle}"
>
</
telerik:RadPane
>
</
telerik:RadPaneGroup
>
<
telerik:RadPaneGroup
>
<
telerik:RadPane
Style
=
"{StaticResource DefaultRadPaneStyle}"
>
</
telerik:RadPane
>
</
telerik:RadPaneGroup
>
</
telerik:RadSplitContainer
>
</
telerik:RadDocking
>
</
Grid
>
</
Window
>
Is this the good way to achieve this?
How can I specify the min and max size (height or width) for the RadPaneGroup ? (the given example has unexpected behaviour, as in the second capture)
Regards
Philippe