This question is locked. New answers and comments are not allowed.
Hi,
I have a problem if a user float a docked RadPane. If the RadPane is docked the content is visible!
If the user now floatin the RadPane the content of the pane are hidden.
I canĀ“t find the bug in my code. I check my code with the example of the RadDocking SL demo.
Thanks for any answer!
Mirko
I have a problem if a user float a docked RadPane. If the RadPane is docked the content is visible!
If the user now floatin the RadPane the content of the pane are hidden.
I canĀ“t find the bug in my code. I check my code with the example of the RadDocking SL demo.
<
telerik:RadDocking
Grid.Row
=
"1"
x:Name
=
"DockingFrame"
Close
=
"DockingFrame_Close"
>
<
telerik:RadDocking.DocumentHost
>
<
telerik:RadSplitContainer
>
<
telerik:RadPaneGroup
x:Name
=
"MyMap"
>
<
telerik:RadPane
Title
=
"{Binding MapTabHeader}"
Header
=
"{Binding MapTabHeader}"
telerik:RadDocking.SerializationTag
=
"DocumentPane"
TitleTemplate
=
"{StaticResource TitleTemplate}"
HeaderTemplate
=
"{StaticResource TitleTemplate}"
CanFloat
=
"False"
CanUserClose
=
"False"
>
<
telerik:RadPane.Content
>
<
Lab:LabContentControl
x:Name
=
"MapContent"
Content
=
"{Binding MapViewModel}"
Grid.Column
=
"1"
>
<
Lab:LabContentControl.ContentTemplate
>
<
DataTemplate
>
<
Views:LabMapView
Lab:LabDragAndDropManager.IsDropDestination
=
"True"
/>
</
DataTemplate
>
</
Lab:LabContentControl.ContentTemplate
>
</
Lab:LabContentControl
>
</
telerik:RadPane.Content
>
</
telerik:RadPane
>
</
telerik:RadPaneGroup
>
</
telerik:RadSplitContainer
>
</
telerik:RadDocking.DocumentHost
>
<
telerik:RadSplitContainer
telerik:DockingPanel.InitialSize
=
"300,150"
Name
=
"RightContainer"
InitialPosition
=
"DockedRight"
Orientation
=
"Vertical"
>
<
telerik:RadPaneGroup
x:Name
=
"pnlItemsAndLabts"
>
<
telerik:RadPane
x:Name
=
"pnlProjectItem"
Header
=
"Project Inspektor"
telerik:RadDocking.SerializationTag
=
"pnlProjectItem"
CanFloat
=
"False"
CanUserClose
=
"False"
>
<
Lab:LabContentControl
Content
=
"{Binding ProjectItemViewModel}"
HorizontalContentAlignment
=
"Stretch"
VerticalContentAlignment
=
"Stretch"
>
<
Lab:LabContentControl.ContentTemplate
>
<
DataTemplate
>
<
Views:LabProjectItemView
Lab:LabDragAndDropManager.IsDropDestination
=
"True"
/>
</
DataTemplate
>
</
Lab:LabContentControl.ContentTemplate
>
</
Lab:LabContentControl
>
</
telerik:RadPane
>
<
telerik:RadPane
x:Name
=
"pnlProjectLabt"
Header
=
"Projecten"
telerik:RadDocking.SerializationTag
=
"pnlProjectLabt"
CanFloat
=
"False"
CanUserClose
=
"False"
>
<
Lab:LabContentControl
Content
=
"{Binding ProjectLabtViewModel}"
HorizontalContentAlignment
=
"Stretch"
VerticalContentAlignment
=
"Stretch"
>
<
Lab:LabContentControl.ContentTemplate
>
<
DataTemplate
>
<
Views:LabProjectLabtView
Lab:LabDragAndDropManager.IsDropDestination
=
"True"
/>
</
DataTemplate
>
</
Lab:LabContentControl.ContentTemplate
>
</
Lab:LabContentControl
>
</
telerik:RadPane
>
<
telerik:RadPane
x:Name
=
"pnlProjectItemItem"
Header
=
"Project Item Inspektor"
telerik:RadDocking.SerializationTag
=
"pnlProjectItemItem"
CanFloat
=
"False"
CanUserClose
=
"False"
>
<
Lab:LabContentControl
Content
=
"{Binding ProjectItemItemViewModel}"
HorizontalContentAlignment
=
"Stretch"
VerticalContentAlignment
=
"Stretch"
>
<
Lab:LabContentControl.ContentTemplate
>
<
DataTemplate
>
<
Views:LabProjectItemItemView
Lab:LabDragAndDropManager.IsDragSource
=
"True"
/>
</
DataTemplate
>
</
Lab:LabContentControl.ContentTemplate
>
</
Lab:LabContentControl
>
</
telerik:RadPane
>
<
telerik:RadPane
x:Name
=
"pnlProjectItemLabt"
Header
=
"Project Item"
telerik:RadDocking.SerializationTag
=
"pnlProjectItemLabt"
CanFloat
=
"False"
CanUserClose
=
"False"
>
<
Lab:LabContentControl
Content
=
"{Binding ProjectItemLabtViewModel}"
HorizontalContentAlignment
=
"Stretch"
VerticalContentAlignment
=
"Stretch"
>
<
Lab:LabContentControl.ContentTemplate
>
<
DataTemplate
>
<
Views:LabProjectItemLabtView
Lab:LabDragAndDropManager.IsDropDestination
=
"True"
Lab:LabDragAndDropManager.IsDragSource
=
"True"
/>
</
DataTemplate
>
</
Lab:LabContentControl.ContentTemplate
>
</
Lab:LabContentControl
>
</
telerik:RadPane
>
</
telerik:RadPaneGroup
>
</
telerik:RadSplitContainer
>
</
telerik:RadDocking
>
Thanks for any answer!
Mirko