Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Greg Dennis
    @gregsdennis
    @ButchersBoy do you have a built-in way to stretch the tabs across the available width of the TabablzControl? I found some width converter solutions online, but I thought I'd check with you first to see if you've already addressed it.
    Christian Käser
    @dfyx
    @ButchersBoy Just a quick question. I replaced a TabControl in my existing application with a TabablzControl and added a default InterTabController. So far everything works fine apart from the fact that none of the buttons in my custom headers are clickable. Is there anything I need to change?
    James Willock
    @ButchersBoy
    Yes... The headers have thumbs, to ever the dragging. So if you have buttons in headers you need to specify the Thumb manually. In the source check CustomerHeader.xaml
    Christian Käser
    @dfyx
    Ah, alright, I missed that
    Now it works
    Thanks
    Greg Dennis
    @gregsdennis
    @ButchersBoy ping
    James Willock
    @ButchersBoy
    @gregsdennis no, that's not supported
    Greg Dennis
    @gregsdennis
    Thank you.
    James Willock
    @ButchersBoy
    But you could probably have a go at writing your own IItemsOrganiser... That is pluggable
    Loyal Servant
    @LoyalServant
    Greetings all, does anyone know of a sample using mvvmlight? I am stuck and could use the nudge.
    Edward Akers
    @Winter
    I can only imagine how many times this question has been asked but I'm sorry I have to ask it: Can I use Dragablz on winforms? The project I'm working on is already tailored to winforms
    James Willock
    @ButchersBoy
    With great great pain
    @WinterAU
    jk33
    @jk33
    Good Day. I was wondering whether it was possible to bind the visibility of the close button on a tabablz control to the view model in an mvvm application
    @LoyalServant I have managed to get this to work with Mvvmlightlibs and I'm happy to be of assistance should you still have a problem
    Loyal Servant
    @LoyalServant
    @jk33 do you have anything online I can take a look at by chance? Part of my issue is trying to work out whether or not I should use the view model locator in mvvmlight or set the datacontext myself. it's been a few days since I looked at this so I don't recall what I had working but I do know that I never got the text on the tabs to work but had some success with the viewmodels.
    jk33
    @jk33
    @LoyalServant Unfortunately I don't have anything online at this point but I had the same problem and solved it with the following XAML in the tabablz control: <dragablz:TabablzControl.HeaderItemTemplate>
    <DataTemplate>
    <TextBlock Text="{Binding PageTitle}"/>
    </DataTemplate>
    </dragablz:TabablzControl.HeaderItemTemplate>
    I forget where I found it but I think it was in one of the demos
    Loyal Servant
    @LoyalServant
    yeah that is in app.xaml i believe. I already have that. It must be some binding issue I just haven't sorted it out.
    no, i'm wrong. let me try yours.
    yeah, that was it. in the example there is a class called tabcontent that has a property called header
    but, i would have thought the following in app.xaml would have taken care of that:
    <Setter Property="CustomHeaderItemTemplate">
    <Setter.Value>
    <DataTemplate DataType="{x:Type common:TabContent}">
    <TextBlock Text="{Binding Header}" />
    </DataTemplate>
    </Setter.Value>
    </Setter>
    Loyal Servant
    @LoyalServant
    Now, my only issue is when dragging a tab away that it creates any number of copies of itself as long as you have the left mouse button down. that one is just strange.
    it never actually drags it away, new windows are created underneath. seems like a weird focus issue
    Abdullah Farooq
    @sunnygb
    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
    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
    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
    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
    Good good
    Benjamin De Clercq
    @BenjaminDeClercq
    image.png
    Hi! Is it possible to decouple the tabs and their content and load the content in a region instead? I want to show the content of the tabs in my "MainRegion" (see picture above, where "Test Here goes your real content" is now is my "MainRegion", that's where I want to show the tabcontent)
    Benjamin De Clercq
    @BenjaminDeClercq
    Or is there a possibility to add the "hamburger" button in before the tabs?
    James Willock
    @ButchersBoy
    HeaderPrefixContent?
    Benjamin De Clercq
    @BenjaminDeClercq
    Ah yess, thank you!
    maciz84
    @maciz84
    Hi Guys,
    Where can I find the MaterialDesignAlternateTabablzControlStyle style. I would like to change some design elements in the tab headers such as removing the shadow and thickness of the selected tab item?
    Alt Tab style.png
    I would like to look like this
    Ideal.png
    Currently the tab header is using the MaterialDesignPaper colour but I would like it totally white. Previously I meant not removing the thicknes but making it bigger. Well all I need is the template if anyone knows where it is? Thanks again in advance