0

Can you please explain the difference between DocumentHeaderDataTemplate and DocumentTitleTemplate in avalonDock.

They are properties of DockingManger, but I want to be sure how to use them.

<xcad:DockingManager DocumentsSource="{Binding OpenViewers}"
                     x:Name="MainTabControl"
                     LayoutItemTemplate="{StaticResource imageSelectionTemplate}"
                     ActiveContent="{Binding ActiveTabItem, Mode=TwoWay}"
                     DocumentHeaderTemplate="{StaticResource DocumentHeaderDataTemplate}"
                     DocumentTitleTemplate="{StaticResource DocumentTitleDataTemplate}" 
                     IsHitTestVisible="True" 
                     VerticalContentAlignment="Stretch" 
                     VerticalAlignment="Stretch">
slavoo
  • 5,798
  • 64
  • 37
  • 39
Gilad
  • 6,437
  • 14
  • 61
  • 119

1 Answers1

1

DocumentTitleTemplate is use in the Template of FloatingDocumentWindow. DocumentHeaderTemplate is used in the Template of LayoutDocumentTabItem.

user2250152
  • 14,658
  • 4
  • 33
  • 57
  • ok Thanks one template is when the tab is floating as a window and the other is when it is docked. got it – Gilad Jan 15 '15 at 08:28