This is a migrated thread and some comments may be shown as answers.

RadTabControl as Prism region - please help

1 Answer 168 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
Szczepan
Top achievements
Rank 1
Szczepan asked on 06 Mar 2020, 08:25 AM
I'm working on WPF app with RadTabControl as Prism region and I don't find solution that fully works as expected.
I have region adapter for tab control, close buttons on tabs, but if I close tab, my region adapter doesn't dispose view model attached by Prism to tab item, it is not garbage collected, so I have memory leaks. 
Can someone attache sample project that works?

1 Answer, 1 is accepted

Sort by
0
Vladimir Stoyanov
Telerik team
answered on 10 Mar 2020, 01:27 PM

Hello Szczepan,

Can you check out the following topic: Call Dispose in RegionNavigationService if View/View Model implements IDisposable, where a similar question was discussed to see if it helps?

Regards,
Vladimir Stoyanov
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
TabControl
Asked by
Szczepan
Top achievements
Rank 1
Answers by
Vladimir Stoyanov
Telerik team
Share this question
or