-
Notifications
You must be signed in to change notification settings - Fork 330
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using dragablz:TabablzControl in dialog cause itemsource to be cleaned out #74
Comments
Hi, from your description I can't quite understand your situation. Are you aware of |
...you might have to post a sample repo for me to understand your requirement. |
I posted in gitter call stack of clearing
|
can you post a sample app though? |
yeap I'll make a repo for you |
cool, when you post it post step by step instructions so i know exactly what you are doing |
Here it is To reproduce bug: Probably it is not a bug. I should use Partiotion property, am I right? |
Before I look at your repo; Partition property allows different "groups" of tabs...so let me know if that fixes your problem. |
No it dont fix my issue. |
No, it's not bindable; it can't be. The framework needs to know the partition up-front.. Be the parent controller is, so you can get around most things that way. |
I'm using dragablz:TabablzControl in separate dialog with a dialog ViewModel.
I want to reuse dialog ViewModel because recreation of it is expencive.
Also i have ConsolidateOrphanedItems=True.
When closing dialog Collection Binded to ItemSource is Cleared.
After looking the code i found that WindowOnClosing dont take into account witch window is closed owner one or child window when tab is taken away.
The text was updated successfully, but these errors were encountered: