Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Post
Register
Login
3
Reply
How to close all opened windows form in Wpf application.
Prathap
Apr 16 2015 1:52 AM
1.6k
Reply
I want to close all opened Forms which are child's of a WPF window.
WindowCollection windCollect = this.OwnedWindows;
foreach (Window wind in windCollect)
wind.Close();
It will close all WPF windows, but i need to close Forms also. Someone please help.
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
3
)
Next Recommended Forum
Tab control tabitem swiping
Setting Tooltips only for longer text width WPF COMBO