These are chat archives for ButchersBoy/Dragablz

22nd
Oct 2015
Artur
@l1pton17
Oct 22 2015 19:35
Безымянный.png
does anybody know hot to grid of border when tabablzcontrol doesn't contain any tab?
*get rid
*hot -> how
James Willock
@ButchersBoy
Oct 22 2015 20:36
That the Material Style?
Artur
@l1pton17
Oct 22 2015 20:36
yes
MaterialDesignTabablzControlStyle
James Willock
@ButchersBoy
Oct 22 2015 20:38
Can't remember if the style takes the actual border property. I'll check tomorrow, but if it does could set border thickness to zero. If not i can probably update the style
dudu631
@dudu631
Oct 22 2015 21:58
Can't i set the Tabablz.ItemControl? I tried to set a datatemplate and I wasn't able to do it.
dudu631
@dudu631
Oct 22 2015 22:12
The thing is, i liked the MaterialDesignTabablzControlStyle, but i'm using MVVM and my ItemSource isn't TabItems, they are ViewModels. And i want to use the MaterialDesignTabablzControlStyle, or something like it. Is it possible?
Artur
@l1pton17
Oct 22 2015 22:15
@dudu631 try to use ContentTemplate property
dudu631
@dudu631
Oct 22 2015 22:39
That way, it will set the content of my tab. My problem is that my TabHeader , which is displaying my content also
Artur
@l1pton17
Oct 22 2015 22:39
@dudu631 CustomHeaderItemTemplate ?
dudu631
@dudu631
Oct 22 2015 22:47
Hmm, at least now i've got some changes! hahahha, i'll keep trying to achieve what i want, i'll let you know and THANKS a lot
I think that is the way,
dudu631
@dudu631
Oct 22 2015 23:00
It worked, but I lost the Style for the TabItem, i'll try to make my own. Thanks a lot for the help @l1pton17
dudu631
@dudu631
Oct 22 2015 23:16
The problem I am having now is: I set up the CustomHeaderItemTemplate, inside is a DragablzItem, but now evey tab of mine has a giant yellow square, and i couldn't figure out why yet.