简体   繁体   中英

Get list of background windows.

What would be the best method to retrieve a reference of each window located in the background in reference to another window? I want to apply a blur animation to every window except one that has IsTopMost set to true. My goal is to focus attention on a tool window that displays updates on a long running process. I currently have a static class that holds a reference to each open window to prevent multiple instances from running. I could use that; however, I want to make this code reusable in other apps.

您不需要自己的列表,这里有Application.Current.Windows

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