Hi,
I have a RadDocumentPane (same for RadPane) with the HeaderTemplate that has a DataTemplate as a static resource. Binding works fine with dock/undock. The issue comes in when RadDocking.LoadLayout is called. The binding is lost on the DocumentHeader (text for header). There is no problem with the Tooltip binding on the RadDocking.LoadLayout. Can someone assist?
Thanks
I have a RadDocumentPane (same for RadPane) with the HeaderTemplate that has a DataTemplate as a static resource. Binding works fine with dock/undock. The issue comes in when RadDocking.LoadLayout is called. The binding is lost on the DocumentHeader (text for header). There is no problem with the Tooltip binding on the RadDocking.LoadLayout. Can someone assist?
Thanks
<
DataTemplate
x:Key
=
"RadPaneHeaderTemplate"
DataType
=
"{x:Type telerikDocking:RadPane}"
>
<
StackPanel
Orientation
=
"Horizontal"
>
<
TextBlock
Text
=
"{Binding}"
ToolTip
=
"{Binding ElementName=DocumentPane, Path=Tag, Mode=OneWay}"
/>
</
StackPanel
>
</
DataTemplate
>
<
telerikDocking:RadDocumentPane
x:Name
=
"DocumentPane"
HeaderTemplate
=
"{StaticResource RadPaneHeaderTemplate}"
Header
=
"{Binding Path=DocumentHeader}"
Tag
=
"{Binding Path=DocumentToolTip}"
telerikDocking:RadDocking.SerializationTag
=
"DocumentPane"
HorizontalContentAlignment
=
"Left"
CanUserClose
=
"False"
DataContext
=
"{Binding}"
>