call ApplyTemplate for TabItem
call ApplyTemplate for TabItem

call ApplyTemplate for TabItem in TabControl to avoid this error:

System.Windows.Data Error: 4 : Cannot find source for binding with
reference 'RelativeSource FindAncestor,
AncestorType='System.Windows.Controls.TabControl', AncestorLevel='1''.
BindingExpression:Path=TabStripPlacement; DataItem=null; target element
is 'TabItem' (Name=''); target property is 'NoTarget' (type 'Object')

ruisebastiao/gong-wpf-dragdrop,emsaks/gong-wpf-dragdrop,huoxudong125/gong-wpf-dragdrop,punker76/gong-wpf-dragdrop,Haukinger/gong-wpf-dragdrop,Livit/Mailbird.Gong.WPF.DragDrop