I am trying to set up a header template on a RadDocumentPane but nothing is showing up. Below is my code. Why is this not working?
Tks.
<
DataTemplate
x:Key
=
"GraphViewPaneHeaderTemplate"
>
<
TextBlock
Text
=
"Graph Views"
/>
</
DataTemplate
>
<
telerik:RadPaneGroup
telerik:ProportionalStackPanel.RelativeSize
=
"200, 100"
>
<
telerik:RadDocumentPane
HeaderTemplate
=
"{StaticResource GraphViewPaneHeaderTemplate}"
CanUserClose
=
"False"
CanUserPin
=
"False"
ContextMenuTemplate
=
"{x:Null}"
>
<
Controls:GraphViewControl
DataContext
=
"{Binding SelectedGraphViewVM}"
HorizontalAlignment
=
"Stretch"
VerticalContentAlignment
=
"Stretch"
/>
</
telerik:RadDocumentPane
>
</
telerik:RadPaneGroup
>