简体   繁体   中英

Showing all open windows in main page WPF

We have an application developed in WPF. i wanted to implement one functionality here. From main page, Main page has quick links to all child windows. if i open 20 windows, i wanted to see all the opened windows listed on mainpage. My main page is blank now so i can show in any way possible. Does WPF has this functionality??? please help

Look at Application.Current.Windows . You can enumerate and show them in your main-window.

Keep them all in an ObservableCollection<Window> , then use a ListView or such to display them. Style your ItemTemplate at wish.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM