Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    christian russo
    @christianrusso
    and can I block drag a tab out ?
    James Willock
    @ButchersBoy
    All tabs or a single tab?
    christian russo
    @christianrusso
    All tabs
    James Willock
    @ButchersBoy
    Remove the InterTabController
    christian russo
    @christianrusso
    perfect!
    one more, can I hide a tab?
    I try with visibility="hidden" but not work
    James Willock
    @ButchersBoy
    No, sorry, that's not implemented, you have to revive it entirely
    christian russo
    @christianrusso
    ok, thanks!
    ABHall
    @abhall724
    ButchersBoy/MaterialDesignInXamlToolkit#380
    I believe I have found this bug in the latest stable version. If you have the same packicon on two different pages it will not load the icon for the second page
    James Willock
    @ButchersBoy
    @abhall724 sample repo please
    ABHall
    @abhall724
    I had to add x:Shared="False" to the PackIcon object and Clean/Rebuild the Solution to get it to finally work
    Shawn Anderson
    @shawnmanderson
    @ButchersBoy Our QA automation team is testing a version of dragablz built with an additional line of code to hopefully allow UI automation tools to find the elements correctly within the tabs. I know at least one other person was interested in this subject. if it pans out would you consider adding the following code to the TabablzControl top level? I can do a PR too, thought i'd check first since it's a 1-liner
    '''
    protected override AutomationPeer OnCreateAutomationPeer()
    {
    return new FrameworkElementAutomationPeer(this);
    }
    '''
     protected override AutomationPeer OnCreateAutomationPeer()
            {
                return new FrameworkElementAutomationPeer(this);
            }
    James Willock
    @ButchersBoy
    Yeah, you can submit a PR for that.
    Malte Baden Hansen
    @Moulde
    I'm working on a application where each window/tab should have a horizontal list of icons, that can be dragged between windows. The kicker being that these icons does not have any content associated. So what i really need is icons that can be dragged between windows, seperately from the other tab/partition. Does anyone have any ideas about how this can be achieved? I'm currently looking at the MotionList example - would that be a good way to implement this?
    James Willock
    @ButchersBoy
    @Moulde you can acheive this... But you have to put a bit of work in yourself. Basically, you create a custom tab control style, which has no main content display area.
    Also, you can check out Gong Drag and Drop. Depends what effect you want. This library will give you the animated re ordering.
    Malte Baden Hansen
    @Moulde
    @ButchersBoy Ah yes, that's what i ended up trying. Is it enough to change the ContentTemplate for the TabablzControl, to an empty DataTemplate? To disable the main content display area? Thanks for the Gong drag and drop, I'l have that as a plan B.
    @ButchersBoy By the way, what could cause dragging a tab out into its own window, to repeatedly create new windows, on top of the old one, but with the same tabs, esentially duplicates of the old window? I'm trying to use the TabablzControl in a MVVM application, and I have tried to follow the "BoundExampleWindow.xaml" in the "DragablzDemo.net45" project. But something (the above issue...) tells me that i may have accidently skipped a step or something.
    James Willock
    @ButchersBoy
    Hmmm yeah, something to do with your IInterTabClient or InterTabController not providing a new window in a proper fashion...
    Malte Baden Hansen
    @Moulde
    @ButchersBoy Ok thanks :)
    Svetlozar Stoichkov
    @svstoichkov
    Hello! How can I change the height of a TabItem header so it's content can fit: http://prntscr.com/e61ap3
    blob
    julesx
    @julesx
    i am trying to use the DragablzItemsControl and an ItemTemplateSelector
    but i can't seem to figure it out
    it seems I have to set the control template in DragalbzItemControl.ItemContainerStyle which overrides my selector
    julesx
    @julesx
    <dragablz:DragablzItemsControl ItemsSource="{Binding SelectedSearchOptions}" ItemTemplateSelector="{StaticResource SearchOptionTemplateSelector}"> <dragablz:DragablzItemsControl.ItemsOrganiser> <dragablz:HorizontalOrganiser /> </dragablz:DragablzItemsControl.ItemsOrganiser>
    my selector is never called here. am i doing something wrong?
    James Willock
    @ButchersBoy
    I can't quite remember, don't have code in front of me. Obviously a few things different compared to a normal items control.
    julesx
    @julesx
    yes. i have a working project using it but it only has one template
    Cliffe Hodgkinson
    @chodge
    Wondering if you're able to create a layout where your tabs are initially docked, but can then be "torn off". I used a dockablz:Branch & was able to get the right layout, but wasn't sure how to make the content tabs?
    James Willock
    @ButchersBoy
    @chodge are you saying you want to restore a layout?
    Cliffe Hodgkinson
    @chodge
    @ButchersBoy Yes, I think that's right.
    James Willock
    @ButchersBoy
    OK... It's do able... But gonna take some effort. Have a look at my "doobry" app... I'm doing it there.
    Cliffe Hodgkinson
    @chodge
    Thanks, @ButchersBoy . I did download that repo, but I wasn't exactly sure where to look... any tips?
    James Willock
    @ButchersBoy
    MainWindowViewModel.RestoreLayout
    Cliffe Hodgkinson
    @chodge
    Great - thanks a lot!
    Magnus Lindhe
    @mgnslndh
    Is it possible to get the TabablzControl to let the tab focus "slip through" to the selected tab control? I do not want the TabItems to be part of the keyboard tab navigation.
    TabablzControlTabOrder.gif
    Magnus Lindhe
    @mgnslndh
    The example above shows a tab key navigation from Order Number down to the TabablzControl which get focus and the second tab key navigation goes from the TabablzControl to Offset X
    I would like to go straight from Order Number to Offset X
    But no matter which property I try to set on the TabablzControlit either let the tab items headers get tab focus or it does not get focus at all.
    Is there a combination of properties I need to set to get the desired behaviour or do I need to make a patch to the control template?
    Magnus Lindhe
    @mgnslndh
    Another observation I made was that after tab key navigation from Offset Y which is the last control on the Offset tab the tab focus will go to the "Suffix" control and then continue to the individual tab item headers. It seems like the first tab stop on the TabablzControl header in the animation really should not be there.
    If necessary I will make a repo to reproduce this behaviour.
    James Willock
    @ButchersBoy
    @mgnslndh log all this in an issue