Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    James Willock
    @ButchersBoy
    @dasjestyr handle the loaded or activated event in the window and stick a break in there
    Ruslan
    @ruslanfedoseenko
    @ButchersBoy I mean a header. If user clicks it nothing should happend(i.e no naviagation to content)
    Ruslan
    @ruslanfedoseenko
    actualy I think I need to disable both. If user is in this tab already and under some circumstances it should be disabled content of tab should not be avaliable.
    James Willock
    @ButchersBoy
    @ruslanfedoseenko yeah...You need to disable the main content...Cos if the user drag other tabs out, your disabled tab will be visible
    Christopher F.
    @foxbot
    is it possible to display tabs multiline?
    James Willock
    @ButchersBoy
    No, no multi line right now. Cos it's a head fuck. But it might happen in the future.
    Christopher F.
    @foxbot
    ahhg, that was kind of a necessary feature, I have some servers with 20, 30+ channels, necessitating 30 tabs
    James Willock
    @ButchersBoy
    I gotta write a wrap canvas that can re organise over multiple rows and tear out/in...not trivial...
    Like Chrome or Edge don't do it...yet...
    Mario Queiros
    @marioQueiros-infotrack
    This message was deleted
    Magnus Lindhe
    @mgnslndh
    Hi @ButchersBoy! Is it possible to have the DragablzItemsControl sort items on one of their properties so that they change order visually when property changes?
    James Willock
    @ButchersBoy
    Currently, without changing the lib you could create a custom IItemsOrganiser (maybe sub class one if the existing ones),
    ...
    Override Organise and sort the items and pass to the base. Then you could InvalidateMeasure on the control itself....maybe i could add a routed event or something to "invalidate" the current sort which might make it easier in the future.
    Magnus Lindhe
    @mgnslndh
    I am using the HorizontalOrganizer but I guess I'll have to use some kind of decoration pattern because it does not declare Organise as virtuall
    DragablzItem.LogicalIndex is that what is used for sorting?
    James Willock
    @ButchersBoy
    Raise a PR to make all the methods virtual
    Yes.
    Ethan Smith
    @ethanhs
    This message was deleted
    never mind, I think I found it
    Ethan Smith
    @ethanhs
    Hey, I have TabablzControl, and it is data bound
    I have styled it so the tabs are a certain width, but I want the last tab (a + button essentially), to have a narrower width
    any suggestions? (Also, thanks so much @ButchersBoy for your awesome library)
    James Willock
    @ButchersBoy
    @IronManMark20 HeaderSuffixContent
    Ethan Smith
    @ethanhs
    Ah! Thanks.
    Ethan Smith
    @ethanhs
    @ButchersBoy Any updates on #20? If not do you have any partial xaml/code? I would love to be able to see this. Thanks!
    Ethan Smith
    @ethanhs
    Never mind, I might do it myself
    Ruslan
    @ruslanfedoseenko
    Does some one tries to test TabablzControl with UI Automation? I have a problem with it. It is not possible to access to children elements.
    Shawn Anderson
    @shawnmanderson
    Our team has noticed the same thing about UI Automation but I have not had time to look into it yet. Would love to know what you find out!
    Artur
    @l1pton17
    How can i obtain a list of tabs (viewmodels) in the same order as in a TabablzControl?
    James Willock
    @ButchersBoy
    You can listen to changes using a PositionMonitir
    Or use the layout query stuff
    (Check the demo) ...I think the layout query sorts...Can't quite remember 😃
    okatip1
    @okatip1
    Hi, I am using tablzcontrol, boundexample. When i drag out a tab, application freezing and dont response for 5 seconds, after 5 seconds it seperates the windows normally. How can i a figure out this problem
    Also while drag in a tab into a window, same problem. It is waiting 5 sec
    okatip1
    @okatip1
    I realized that, every drag in or drag out to/from window, creates window and fill all data again, the tab i drag out has the data already why we need this?
    James Willock
    @ButchersBoy
    This is WPF...you have to account for the way the logical tree arranged, measured, drawn...it's never going to be as fast as some C++ application with some kind of "fixed" layout. Typically in MVVM the visual tree is going to be re-created as a new Window is created and the content bound to your view model...that's the way WPF works. However, I can say that I've got some pretty complex applications using it and runs well. It could well depend on what stuff you have in your application....for example, how long does your app take on start up? Are you running extra stuff on the UI thread when a Window/UserControl is created? How sync or async is your app?
    ...basically, what I'm saying is, what's running on your UI thread, that you can make async? cos' that's where you'll find performance gains.
    okatip1
    @okatip1
    Ok, how can i disable this feature?
    James Willock
    @ButchersBoy
    Which feature?? You need to understand your own code...when a user control or window loads...what are you doing? Querying a database? Hitting a service?
    okatip1
    @okatip1
    Dragging out a tab from the window feature
    James Willock
    @ButchersBoy
    I see...yes you can...1, remove the InterTabController, 2 use FixedItemCount
    okatip1
    @okatip1
    Thank you very much
    Last question sir:)
    James Willock
    @ButchersBoy
    HeaderSuffixContent. Add an empty Grid with a Width set.
    Artur
    @l1pton17
    @ButchersBoy is there any reason of why we don't have PositionMonitor property inside TabablzControl?
    Maybe i do it wrong, but without a PositionMonitor property, i had to use reflection
        private void ProjectViewLoaded(object sender, RoutedEventArgs e)
        {
            typeof(TabablzControl).GetField("_dragablzItemsControl", BindingFlags.NonPublic | BindingFlags.Instance)
                .With(v => v.GetValue(ProjectTabablz))
                .With(v => v as DragablzItemsControl)
                .Do(v =>
                {
                    var monitor = new HorizontalPositionMonitor();
                    monitor.OrderChanged += MonitorOrderChanged;
                    v.PositionMonitor = monitor;
                });
        }
    James Willock
    @ButchersBoy
    Yeah...at that point it's kinda hidden...But there's an issue outstanding to provide better events.