Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Shel2
    @Shel2
    Ah - okay
    Thanks again for your help - I didn't mean to take up too much of your time!
    James Willock
    @ButchersBoy
    i have that up and running in a project at the day job, but dont have a demo to hand at the moment
    np
    good to have some feedback
    CharismaRise
    @CharismaRise
    Best tab control project on the web! I have downloaded your dragablz package from Nuget and was able to create a tab control with MahApps. Is there an easy way to turn on the close buttons on the tabs?
    James Willock
    @ButchersBoy
    Yes. :)
    ShowDefaultCloseButton="True"
    CharismaRise
    @CharismaRise
    Awesome, works! Now last thing, is there a way to disable close button only on the first tab?
    James Willock
    @ButchersBoy
    @charismarise you will be
    Yes
    Sorry...typing on my mobile
    Yes you can "manage" the close button
    Have a look at my git repo DragablzSamplez. In there is a project called "OptionalCloseButton"
    CharismaRise
    @CharismaRise
    So that can only be achieved via MVVM?
    James Willock
    @ButchersBoy
    You could do it via code or XAML...but I recommend MVVM
    CharismaRise
    @CharismaRise
    Great, thank you for your help!
    James Willock
    @ButchersBoy
    Np
    If your next question is "how can I stop first tab being dragged"...keep your eye on demo as I will be setting up an example for someone else this week.
    CharismaRise
    @CharismaRise
    Thanks!
    James Willock
    @ButchersBoy
    @CharismaRise et al: I've just added a FixedHeaderCount property so you can set this to 1 to lock your first tab. Easier than dealing with optional close button templates
    CharismaRise
    @CharismaRise
    That's so much help, thank you very much!
    Artur
    @l1pton17
    Hello! After draging all items, the tabcontrol become empty. And after that, i can't move a tabitem back to empty tabcontrol. Is there any way to do it?
    James Willock
    @ButchersBoy
    Hi @l1pton17 ...standard behaviour is for the window to close...are you overriding any behaviours?
    Artur
    @l1pton17
    @ButchersBoy , yes, because i have a main window, that contains not only tabs, so i've overrided behaviour, that main window stay alive but child windows close.
    James Willock
    @ButchersBoy
    Ok...I haven't really accounted for this scenario...do you want to create an issue on git and I will come up with something.
    Actually, In the meantime I guess your alternative is to set the FixedHeaderCount to 1 when you are down to a single tab. This would stop the last tab being removed.
    Artur
    @l1pton17
    Yes, thank you, fixedheadercount is partially solution of the problem. I will create an issue on git
    Joseph Anderson
    @josephxanderson
    @ButchersBoy have you posted a tutorial yet for using Dragablz with MVVM? I did some superficial searching but I couldn't find anything.
    James Willock
    @ButchersBoy
    Have you tried looking at the examples in the solution? Although, no, I should really do a proper tutorial...
    I will try and do one over the next couple of weeks.
    Martin Konstantin Herrmann
    @voshond
    I'm waiting or datagrids! (:
    James Willock
    @ButchersBoy
    Man I got a lot of customers! 😉
    Summer holidays coming up to...
    Joseph Anderson
    @josephxanderson
    Yes I looked into the tutorials, however I'm having trouble implementing the system into my project, still working on it lol. Hopefully you can put one up soon :)
    James Willock
    @ButchersBoy
    Ok I will try...getting a bit snowed under ❄
    Joseph Anderson
    @josephxanderson
    See perfect time to do one :sparkles:
    James Willock
    @ButchersBoy
    Perhaps look out for a new demo project which I will build from the ground up using MVVM
    James Willock
    @ButchersBoy
    Tim Stephansen has created a Dragablz demo project with PRISM: https://github.com/tstephansen
    James Willock
    @ButchersBoy
    Data grids improved around cell editing...check out the demo. Definitely my last check in fur a couple of weeks :-)
    Jan Karger ツ ☀
    @punker76
    This message was deleted
    @ButchersBoy after playing with vs2015 with https://github.com/Droidkit/OnePlus-One and still getting the exception:
    'TemplateRoot' name cannot be found in the name scope of 'System.Windows.Controls.ControlTemplate'
    here is my try: ButchersBoy/MaterialDesignInXamlToolkit#51
    @ButchersBoy that was fast... :fire:
    James Willock
    @ButchersBoy
    :) ...i had just finished another job, was just about to start looking...and you fixed it for me :smile: thanks
    Jan Karger ツ ☀
    @punker76
    @ButchersBoy don't understand why there is still no event that fires after ApplyTemplate
    in 2015
    :shipit:
    James Willock
    @ButchersBoy
    Yeah, I still get caught out by those things sometimes. App at work is working fine for months, then somehow the load/measuring changes slightly, things happen out of sequence you were expected...and bang
    ...kinda explains why i wasnt seeing the issue
    Jan Karger ツ ☀
    @punker76
    @ButchersBoy ha, that's my second commit :boom: :-P