8
Reply

Is Close() method of WPF is enough?

Ask a question
Amresh S

Amresh S

7y
248
1
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. 

Answers (8)