Hi All,
I have a WPF window, which I had used several components like textBoxes, textBlocks, comboBoxes and buttons. These component's events have been used to get the updated values like TextChanged,SelectionChanged, Click events. I read several articles regarding removing of the resources by calling the Close() method of WPF. But, will it clear every hooked up event's resources also?
If not, should I implement a method to Un-hook these events?
Kindly share your ideas!
Thanks & Regards,
Amresh S.


Amit GuptaRank #190 · 12.8K reputationPosted Nov 17, 2016, 8:17 AM EST
Praveen Gopal101 reputationPosted Nov 17, 2016, 3:11 AM EST
Praveen Gopal101 reputationPosted Nov 17, 2016, 3:18 AM EST
Amit GuptaRank #190 · 12.8K reputationPosted Nov 17, 2016, 4:38 AM EST
and you can remove the eventhandler again:
Praveen Gopal101 reputationPosted Nov 17, 2016, 1:36 AM EST
Amresh SRank #5,790 · 286 reputationPosted Nov 17, 2016, 2:41 AM EST
Praveen Gopal101 reputationPosted Nov 17, 2016, 3:04 AM EST
Amresh SRank #5,790 · 286 reputationPosted Nov 17, 2016, 6:46 AM EST