Reputation: 149
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
Upvotes: 0
Views: 664
Reputation: 16846
Keep them all in an ObservableCollection<Window>
, then use a ListView
or such to display them. Style your ItemTemplate
at wish.
Upvotes: 1
Reputation: 36775
Look at Application.Current.Windows
. You can enumerate and show them in your main-window.
Upvotes: 1