Hi,
I find shield cannot disappear when I close the xamDialogWindow:
1. There is one TabItem control, two TabItems.
2. In the first TabItem, I click one button, then create one xamDialogWindow and show.
3. Close the xamDialogWindow.
4. Change the tab to the second TabItem.
5. Return to the first TabItem and click the button again.
6. Close the xamDialogWindow and the problem happen.
I upload my sample code, the problem could recur follow these steps.
Hi Nikolay,
Follow your suggest, I resolve this problem. Thank you very much!
Regards,
zjl
Just have in mind that your sample is leaking dialog window controls. Every time you open a new one you attach it to the visual tree, but when you close it you do not remove it.
When the window is closed it just goes in Hidden state.
The best way to avoid the issue described in your post is to either keep one dialog window and change its content or to remove the dialog windows that won't be used and then create new ones.
Thank you for the sample, it was very helpful. I was able to reproduce the issue and I opened a case (Case Number: CAS-62833-6L42XQ, Development work item: #70119) so you can be notified when we have a resolution.
Thank you