Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Magnus Lindhe
    @mgnslndh
    I would like to be able to reorder items in DragablzItemsControl by ICommand.
    Like move an item up or down when organized vertically.
    James Willock
    @ButchersBoy
    That's old I think. Has no meaning.
    Magnus Lindhe
    @mgnslndh
    Ok, I will remove PART_DragElement name from my code
    James Willock
    @ButchersBoy
    Like a kind of shunt up shunt down thing?
    Magnus Lindhe
    @mgnslndh
    Yes, if you mean like pushing one item up/down one position (in vertical context)
    The display order of items only seems to be changable by dragging.
    The tab control listens to notifications from the item source and moves tabs accordingly. But I cannot find a way of doing this with the DragablzItemsControl
    Is there any way of changing the order from code, preferably via mvvm?
    Magnus Lindhe
    @mgnslndh
    Oh, must say I love gitter. Just found out I could edit my last comment by pushing the Up-key :)
    James Willock
    @ButchersBoy
    Not so easy on a phone...
    Svetlozar Stoichkov
    @svstoichkov
    Hello! How can I adjust the spacing between tab items? http://i.imgur.com/F4BSOPt.png
    Svetlozar Stoichkov
    @svstoichkov
    Thanks, that helped me. Now I have another question. How do I remove that annoying dotted line which show that the TabControl has focus. The line is only visible when the TabControl is in dialoghost
    James Willock
    @ButchersBoy
    Same for any WPF control you can set FocusVisualStyle to null...or pay the focus/tabbing properties
    Magnus Lindhe
    @mgnslndh
    Is there a way of knowing if a DragablzItem is currently being dragged?
    IsDragging.
    :)
    James Willock
    @ButchersBoy
    😉
    Magnus Lindhe
    @mgnslndh
    @ButchersBoy have you used the DragablzItemsControl for selection? Items support IsSelected but the the control does not seem to support it.
    James Willock
    @ButchersBoy
    ...I'd have to go back and check...my memory
    fails me
    Magnus Lindhe
    @mgnslndh
    Thanks anyway! Im trying to figure out how to best layout a view and considering different controls and options, thats all.
    Ruslan
    @ruslanfedoseenko
    Is there any way to make Tab in TabablzControl disabled? Actualy I'm looking for MVVM correct way.
    James Willock
    @ButchersBoy
    @ruslanfedoseenko disable tab header, tab content?
    Jeremy Stafford
    @dasjestyr

    @ButchersBoy (taking it back a week or so) "maybe stick a breakpoint in where the window gets created and post (or look at the call-stack)? The nugget package includes source so you might be able to step back and get some more clues..."

    I'm not using any custom window factory; I'm just using it like the example, so I'm not sure where I would stick the break point?

    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