These are chat archives for ButchersBoy/Dragablz

2nd
Aug 2017
Abdullah Farooq
@sunnygb
Aug 02 2017 09:24
Assalam O alikum guyx
Thank u guyx for ur beatiful Tabcontrol.
Recently i got myself into an awful problem
im new to wpf and xaml
but heres my problem
image.png
my viewmodel is showing right into dragable tabs :(
Abdullah Farooq
@sunnygb
Aug 02 2017 09:30
Heres my code
  <dragablz:TabablzControl ItemsSource="{Binding ViewModels}"
                                 ShowDefaultCloseButton="True"
                                 SelectedItem="{Binding SelectedViewModel, Mode=TwoWay}"
                                 Height="535">
            <dragablz:TabablzControl.InterTabController>
                <dragablz:InterTabController />
            </dragablz:TabablzControl.InterTabController>

        </dragablz:TabablzControl>
Any help would be appriciated :)
James Willock
@ButchersBoy
Aug 02 2017 10:36
Hi, I'm afraid I'm away from home with no laptop... If you haven't got anywhere next week post again I will try to help
Abdullah Farooq
@sunnygb
Aug 02 2017 10:38
Thanks @ButchersBoy It got resolved just have to do.. this
   <dragablz:TabablzControl.HeaderItemTemplate >
               <DataTemplate >

                    <TextBlock Text="{Binding ViewModelName}"
                              ></TextBlock>

            </DataTemplate>
    </dragablz:TabablzControl.HeaderItemTemplate>
James Willock
@ButchersBoy
Aug 02 2017 10:39
Good good