Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    feinstein
    @feinstein
    What do you mean by splitting?
    Like visual Studio docking you
    Docking? *
    James Willock
    @ButchersBoy
    @feinstein it's a simplified version of docking
    feinstein
    @feinstein
    OK, thanks!
    mbowles201
    @mbowles201
    Did a simple cut and paste of the example with 2 tabs. If I am careful, i can drag the tabs side to side and change order, if I miss or purposely try to tear out to its own window, it throws an error: "Exception has been thrown by the target of an invocation. Unable to ascrtain tab control" Anyone getting this right out the gate?
    James Willock
    @ButchersBoy
    @mbowles201 usually means that when it creates a new window it can't find the TabablzControl. So usually means that the setup is quite right... anything different with your Window etc compared to the examples?
    Magnus Lindhe
    @mgnslndh
    @ButchersBoy sorry to bother you with this, but have you had time to look at #111 yet? Simple change to remove event handler on Unload as described above.
    James Willock
    @ButchersBoy
    Yeah sorry... Will try and look this week..
    mbowles201
    @mbowles201
    It seems all of the examples are in a Window, I assume they can be used in a UserControl as well? The examples work locally, so need to figure out what I am missing, other that I use the dragablz in a usercontrol that is used by a window after the splash screen.
    mbowles201
    @mbowles201
    Ok, same example works in my own app if the dragablz are in a window and not a userControl. Looks like I have some work in front of me.
    Suman Dhakal
    @sdhakal
    I have a question for all the wpf developers regarding material design dialoghost in wpf. When I open a certain dialog box, some parts of the background (I mean outside of the dialog box) are not dimmed(2 buttons in my case) whereas all the other buttons are dimmed out(opacity decreased as it should be). Is this a material design dialog host issue? Is there anyone with the same issue?
    Suman Dhakal
    @sdhakal
    This message was deleted
    Andre Rosenthal
    @camou23
    hi is there a posibilty to use dragablz with mahapps animated tabcontrol?
    James Willock
    @ButchersBoy
    @camou23 ... Two different controls... So no direct compatibility
    muktiwww
    @muktiwww
    why tab header event mouse up dragabalz not working??
    James Willock
    @ButchersBoy
    Because it does a lot more with mouse than the standard tab control... It doesn't all behave the same...
    Seyden
    @Seyden
    can i make a togglebutton looks like a cube?
    instead of a circle?
    theparker
    @theparker
    hi @ButchersBoy , i just downloaded the Dragablz Sample app from Github and after restoring nuget packages, i get the following errors:
    1. 'MainWindow' does not contain a definition for InitialTabablzControl in InterTabClient.cs
    2. The InitializeComponent does not exist in the current context in StylezApp
      does this have to do with the package version?
    James Willock
    @ButchersBoy
    @theparker /all. --summer holidays--
    theparker
    @theparker
    Have fun. Been able to figure it out :smile:
    Douglas Gadêlha
    @dgadelha
    Hey, is there a TabChanged event? I can't find it.
    Douglas Gadêlha
    @dgadelha
    Just need to use (e.Source is Dragablz.TabablzControl) instead of TabControl
    would be nice this in the documentation
    Artur
    @l1pton17
    I have multiple tabablz controls in my application. and i can't move the last tab in some tabablz. when i try to do it, it just moves the hole window. is there any way to make it?
    James Willock
    @ButchersBoy
    Hmmm.... Should only move the Window if there is a single tab... Sounds likea bug...
    Magnus Lindhe
    @mgnslndh
    Hey @butchersboy! You remember if you've changed background styling of Dragablz TabItem used with Material Design Toolkit?
    I just upgraded from .150 to .170 and TabItem placed in a card that used have the card background now has the default background color instead.
    Magnus Lindhe
    @mgnslndh
    Could also be i'm doing some styling that no play well with the new version :)
    Magnus Lindhe
    @mgnslndh
    Changing background on the TabControl did the trick.
    Shawn Anderson
    @shawnmanderson
    So I got a strange one - back in Dec there was a commit that modifies enabled state (ButchersBoy/Dragablz@860cbab). This is a good change and was actually committed by a coworker of mine. However I'm running into VERY rare situations where a closing tab gets exceptions when the enabled state is set (at MS.Win32.UnsafeNativeMethods.EnableWindow(HandleRef hWnd, Boolean enable)
    at System.Windows.Interop.HwndHost.OnEnabledChanged, The parameter is incorrect) - probably because the window handle is either ending up null or invalid by the point the code executes. Thoughts? I don't want to remove the code, but right now I'm considering forking and just having a hack try/catch around it. the only other thought I had was to somehow add a boolean property to conditionalize setting the child.IsEnabled, but that seemed like major overkill.
    James Willock
    @ButchersBoy
    @shawnmanderson how reproducible is this?
    I guess very rare :)
    Shawn Anderson
    @shawnmanderson
    @ButchersBoy its tough because it has to do with WinFormsHosts, old tech, and a combination of citrix remote deskop applications :) I could try to create an application that reproduces it, might be a weekend task
    James Willock
    @ButchersBoy
    Ooooh. Citrix and WinForms. Ha. Nasty combination.
    bebenins
    @bebenins
    Hi James... Question. For some reason TabItem's IsEnabled property doesn't work inTabablzControl. Is that just because it wasn't implemented? If yes, is there a plan to do so?
    Thanks!
    James Willock
    @ButchersBoy
    @bebenins yep, it's not implemented, because it doesnt really make sense in a scenario where you can tear tabs off...you can still be left wiith a window with your single disabled tab...which would be a wierd user experience....doesn't mean you cant disable your content though
    bebenins
    @bebenins
    @ButchersBoy I understand your reasoning for tearing off tabs off.
    In my case though, they are fixed and I trigger events (reading HW registers) when a tab is selected. But before HW is initialized, I must prevent the user from selecting certain tabs because if a tab is selected during init, there will be register access clashes. So I guess I can put some kind of "blanket" over tabs I don't want to be clicked. Anything else you can suggest? Thank you!
    blob
    In the example above, the Firmware and Diags tabs must always remain enabled while others have to be controlled.
    James Willock
    @ButchersBoy
    But can't you manage that in your view models (assuming you are using MVVM). If a tab isn't yet initialise, just show some temporary "loading" indicator?
    bebenins
    @bebenins
    Yea, I can do something like that.... Will try it. Thanks!
    Muzaffa
    @Muzaffa
    This message was deleted
    James Willock
    @ButchersBoy
    At
    Johan Larsson
    @JohanLarsson
    blob
    dunno if ^ is intentional
    B3NNITH
    @Bennith
    Great framework you have developed @ButchersBoy. I use FontAwesome in my WPF app with Dragablz.Mahapps.MaterialDesigns and is it possible to have font awesome icon in my tabItem header text?