Thanks! I was just about to tell you that I used static InterTabClient and it helped! Works great now! :)
Magnus Lindhe
@mgnslndh
Sorry to bother you with this James. I'm trying to put a badge in the header of a TabItem. I'm putting custom content in the TabItem.Header property but my TextBlock does not inherit the same look as used by the default style. Do you know where I should look to figure out how to make my style look the same as the default TabItem header?
Hangon, might be the Medium FontWeight that is missing
Magnus Lindhe
@mgnslndh
Seemed to do the trick
Magnus Lindhe
@mgnslndh
Does TabablzControl use the TabItem.HeaderTemplate at all? TabablzIControl.HeaderItempTemplate works for me but not the TabItem.HeaderTemplate
James Willock
@ButchersBoy
@mgnslndh i cant quite remember now, but yeah, one of the templates is not quite what you think it is.... So probably that one (haven't got code in front of me)
Riley Labrecque
@rlabrecque
Hey everyone, I'm trying to disable tab tearing, and I know it's been asked at least 5 times before, I know I just have to stop using InterTabController but I'm extremely new to WPF. What do I replace it with? I'm working from the BoundExampleDemo and I have almost all InterTabController stuff removed except for this part: "<!-- a root, named tab control is needed..." (I'm surprised it still works at all at this point?) http://i.imgur.com/Ar0PrYu.png I tried removing all 5 of those lines, just the middle 3, just the very middle one. But as soon as I do I either crash or the layout doesn't display at all.
Riley Labrecque
@rlabrecque
Oh, nevermind, replacing the layout with a grid actually did the trick (I didn't need floating windows either)
Jerrybalthrop
@jerrybalthrop_twitter
What's up Alex
John
@JVimes
Does Dragablz support tear-off panels? Tried to emulate with a single tab, cut it can't be torn out of the window.
James Willock
@ButchersBoy
How do you mean?
John
@JVimes
I want a side panel that can be pulled out of the main window and placed on a second monitor. There won't be multiple tabs in its area, just a panel.
And then drag-and-dropped back to it's place on the side of the window.
James Willock
@ButchersBoy
Well, this isn't a typical docking library... It's a tab control...
John
@JVimes
Right. Just asking if it can be done :)
Talha Talip Açıkgöz
@Talha-T
Hi @ButchersBoy , awesome work!
I want to make a tab control like this, how can I do that?
tbone897
@tbone897
when switching tabs, how do I get the currently selected tab? Tried using tabablzControl_SelectionChanged event and getting the active tab Object selectedTab = tabablzControl.SelectedContent;
but I always get the previous selected tab, the tabablzControl_SelectionChanged event is firing before the tab changes. any ideas?
Talha Talip Açıkgöz
@Talha-T
this is probably the worst way but, maybe wait for a period then get selectedtab?
but as I said, this is probably the worst way
James Willock
@ButchersBoy
Might be
Better to dispatcher.begininvoke
_
Talha Talip Açıkgöz
@Talha-T
@ButchersBoy How can I make a template like above?
James Willock
@ButchersBoy
There is a style for that... Have you seen the MahApps mashup demo in the MDIX source?
Talha Talip Açıkgöz
@Talha-T
I didn't. Do I have to Install MahApps for that or not?
@ButchersBoy do you have a built-in way to stretch the tabs across the available width of the TabablzControl? I found some width converter solutions online, but I thought I'd check with you first to see if you've already addressed it.
Christian Käser
@dfyx
@ButchersBoy Just a quick question. I replaced a TabControl in my existing application with a TabablzControl and added a default InterTabController. So far everything works fine apart from the fact that none of the buttons in my custom headers are clickable. Is there anything I need to change?
James Willock
@ButchersBoy
Yes... The headers have thumbs, to ever the dragging. So if you have buttons in headers you need to specify the Thumb manually. In the source check CustomerHeader.xaml
Christian Käser
@dfyx
Ah, alright, I missed that
Now it works
Thanks
Greg Dennis
@gregsdennis
@ButchersBoy ping
James Willock
@ButchersBoy
@gregsdennis no, that's not supported
Greg Dennis
@gregsdennis
Thank you.
James Willock
@ButchersBoy
But you could probably have a go at writing your own IItemsOrganiser... That is pluggable
Loyal Servant
@LoyalServant
Greetings all, does anyone know of a sample using mvvmlight? I am stuck and could use the nudge.
Edward Akers
@Winter
I can only imagine how many times this question has been asked but I'm sorry I have to ask it: Can I use Dragablz on winforms? The project I'm working on is already tailored to winforms
James Willock
@ButchersBoy
With great great pain
@WinterAU
jk33
@jk33
Good Day. I was wondering whether it was possible to bind the visibility of the close button on a tabablz control to the view model in an mvvm application
@LoyalServant I have managed to get this to work with Mvvmlightlibs and I'm happy to be of assistance should you still have a problem
Loyal Servant
@LoyalServant
@jk33 do you have anything online I can take a look at by chance? Part of my issue is trying to work out whether or not I should use the view model locator in mvvmlight or set the datacontext myself. it's been a few days since I looked at this so I don't recall what I had working but I do know that I never got the text on the tabs to work but had some success with the viewmodels.