Hi,
I am using the Telerik docking control to be able to dock a RadPaneGroup inside another RadPane, but the rad pane group control
always gets docked outside my parent control which unfortunately is not the wanted result. Here is a sample of my source code :
I looked at the demo samples over Telerik website but couldn't find any sample that does what I want
I have a sample project which consists of a map ( picture, for simplicity purposes ) and a panel that needs docking. What I want is to be able to dock that panel inside the parent ( the map control ), not outside it.
Attached I have a screenshot of my sample app running.
Thanks,
Flaviu
I am using the Telerik docking control to be able to dock a RadPaneGroup inside another RadPane, but the rad pane group control
always gets docked outside my parent control which unfortunately is not the wanted result. Here is a sample of my source code :
<
telerik:RadDocking
x:Name
=
"RadDocking1"
CloseButtonPosition
=
"InGroup"
AllowUnsafeMode
=
"True"
AllowDragReorder
=
"True"
AllowDrop
=
"True"
>
<
telerik:RadDocking.DocumentHost
>
<
telerik:RadSplitContainer
>
<
telerik:RadPaneGroup
Margin
=
"-8"
>
<
telerik:RadPane
x:Name
=
"MapPane"
Visibility
=
"Collapsed"
PaneHeaderVisibility
=
"Collapsed"
CanUserClose
=
"False"
CanFloat
=
"False"
CanUserPin
=
"False"
CanDockInDocumentHost
=
"True"
>
<
telerik:RadPane.Content
>
<
Grid
>
<
Image
Source
=
"Assets/map.png"
Stretch
=
"Fill"
></
Image
>
<
telerik:RadSplitContainer
x:Name
=
"Container"
InitialPosition
=
"DockedRight"
UseLayoutRounding
=
"True"
>
<
telerik:RadPaneGroup
x:Name
=
"PaneGroup"
Height
=
"300"
Width
=
"200"
>
<
telerik:RadPane
CanDockInDocumentHost
=
"True"
x:Name
=
"RadPane"
Header
=
"TestPane"
>
<
TextBlock
Text
=
"TestPanel"
/>
</
telerik:RadPane
>
</
telerik:RadPaneGroup
>
</
telerik:RadSplitContainer
>
</
Grid
>
</
telerik:RadPane.Content
>
</
telerik:RadPane
>
</
telerik:RadPaneGroup
>
</
telerik:RadSplitContainer
>
</
telerik:RadDocking.DocumentHost
>
</
telerik:RadDocking
>
I looked at the demo samples over Telerik website but couldn't find any sample that does what I want
I have a sample project which consists of a map ( picture, for simplicity purposes ) and a panel that needs docking. What I want is to be able to dock that panel inside the parent ( the map control ), not outside it.
Attached I have a screenshot of my sample app running.
Thanks,
Flaviu