WPF element Loaded event firing twice without Unloaded event in between
- Dominant language
- C#
- Stars
- 7.7k
- Forks
- 1.3k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 61
Description
_This issue has been moved from [a ticket on Developer Community](https://developercommunity2.visualstudio.com/t/WPF-element-Loaded-event-firing-twice-wi/798339)._
---
If you listen to the `Loaded` event of any element inside the content of a tab item, the loaded event is being fired twice, once upon creation and once when the tab item is being selected, without an unloaded event in between.
This Problem was already reported, I want to re-report as a new problem, as suggested by the close message: https://developercommunity.visualstudio.com/content/problem/267062/wpf-element-loaded-event-firing-twice-without-unlo.html
Please note that Sam Bent -- MSFT specifically asks to report this behaviour as a bug here:
https://social.msdn.microsoft.com/Forums/de-DE/ee9672ed-a991-4dc1-9c92-a015ca2d99d3/when-exactly-are-the-loaded-unloaded-events-raised?forum=wpf
---
### Original Comments
#### Feedback Bot on 10/30/2019, 01:40 PM:
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.
#### Feedback Bot on 12/5/2019, 05:12 PM:
I have detected that for the last 35 days, this issue didn't have much product team activity and a very small amount of new votes or comments. Based on this, its severity, and affected area, it’s my experience that this issue is very unlikely to be fixed.
---
### Original Solutions
(no solutions)
Contributor guide
Assessment
This issue has not been assessed yet.