Dear Telerik,
RadPaneGroup inherited from ItemsControl and can contain a list of RadDocumentPane. I want to use RadDocumentPane as ItemTemplate of RadPaneGroup. The code is:
There is no error when building and running. But the UI has problem. (See attached file)
http://www.telerik.com/ClientsFiles/235713_ui-problem.png
BTW: I just tried, use RadPane as ItemTemplate will cause the same problem.
RadPaneGroup inherited from ItemsControl and can contain a list of RadDocumentPane. I want to use RadDocumentPane as ItemTemplate of RadPaneGroup. The code is:
<
t:RadSplitContainer
>
<
t:RadPaneGroup
ItemsSource
=
"{Binding WorkflowItems}"
>
<
t:RadPaneGroup.ItemTemplate
>
<
DataTemplate
>
<
t:RadDocumentPane
Header
=
"{Binding Name}"
Content
=
"{Binding Workflow}"
>
<
t:RadDocumentPane.ContentTemplate
>
<
DataTemplate
>
<
TextBlock
Text
=
"{Binding}"
/>
</
DataTemplate
>
</
t:RadDocumentPane.ContentTemplate
>
</
t:RadDocumentPane
>
</
DataTemplate
>
</
t:RadPaneGroup.ItemTemplate
>
</
t:RadPaneGroup
>
</
t:RadSplitContainer
>
There is no error when building and running. But the UI has problem. (See attached file)
http://www.telerik.com/ClientsFiles/235713_ui-problem.png
BTW: I just tried, use RadPane as ItemTemplate will cause the same problem.