@itechy21 I just installed in a clean solution, it's fine. I suspect something has got confused in your application...Maybe you've renamed ssome xaml files? If you send me a repo/link I'll take a look
if i put togglebutton with MaterialDesignFlatPrimaryToggleButton style and next propeties: padding=0, margin=0, height=32, width=32, then "checked" ellipse is bigger than togglebutton's size.
James Willock
@ButchersBoy
Yah...that is a kinda constraint right now cos the ellipse size is fixed for the animation storyboards...I can try and improve for a future release using a transform instead of animating height/width
James Willock
@ButchersBoy
...If you log an issue to remind me I will sort it
James Willock
@ButchersBoy
do i update Dragablz to VS2015 C#6.0?
Artur
@l1pton17
This message was deleted
i'm sure there was this question, but i can't find it: is it possible to prevent moving tabs out of tabcontrols?
Artur
@l1pton17
oh, i found answer, just don't set intertabclient
James Willock
@ButchersBoy
@l1pton17 also you have the FixedItemCount
Pranav Ramarao
@pranavr93
Hey
James Willock
@ButchersBoy
Yo
Pranav Ramarao
@pranavr93
So I have a WPF application which makes use of tabs
Lets say all the tabs make use of a central data. ( Backend)
When I separate a tab out, you create a new process for that tab right?
James Willock
@ButchersBoy
No. Single process.
Pranav Ramarao
@pranavr93
So can the new tab still access all the data in memory for the parent tab?
_
James Willock
@ButchersBoy
Yes.
Pranav Ramarao
@pranavr93
Oh okay
And how hard is it to completely replace a previous tab implementation with yours?
James Willock
@ButchersBoy
...depends on your code base!
😉
Are you mvvm ?
Pranav Ramarao
@pranavr93
yes
James Willock
@ButchersBoy
To get the basic tearing tab is pretty simple
Pranav Ramarao
@pranavr93
I get a crash when I try tearing with my app :(
James Willock
@ButchersBoy
Layouts (splitting) gets a little more complicated
Have you started by running any of the samples? Get a feel fur the api, then see how it fits your app.
Pranav Ramarao
@pranavr93
Yes, I have taken a look at most of the demos
James Willock
@ButchersBoy
So what's your error? Something in your code or dragablz?
Pranav Ramarao
@pranavr93
An unhandled exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll
Additional information: Exception has been thrown by the target of an invocation.
I get this when I try to tear a tab and separate it from the application
James Willock
@ButchersBoy
Stack? What is your items source?
Pranav Ramarao
@pranavr93
Operation is not valid while itemsSource is in use
at System.Windows.Controls.ItemCollection.Clear() at Dragablz.DefaultInterTabClient.GetNewHost(IInterTabClient interTabClient, Object partition, TabablzControl source) in C:\projects\dragablz\Dragablz\DefaultInterTabClient.cs:line 25 at Dragablz.TabablzControl.MonitorBreach(DragablzDragDeltaEventArgs e) in C:\projects\dragablz\Dragablz\TabablzControl.cs:line 1050 at Dragablz.TabablzControl.ItemDragDelta(Object sender, DragablzDragDeltaEventArgs e) in C:\projects\dragablz\Dragablz\TabablzControl.cs:line 969
My items source is an ObservableCollection of a custom class
which inherits UserControl and INotifyPropertyChanged
James Willock
@ButchersBoy
Ok, try with latest nuget package.
I suspect, at some point you might want to look into implementing your own IInterTabClient, so have a look at that interface.
Pranav Ramarao
@pranavr93
hmm okay
But where do you think the problem is?
is it on my side of things?
Hey! I got the latest nuget and it doesn't crash now!!