WPF 中是否有 OpenForms 属性? [英] Is there a OpenForms Property in WPF?
本文介绍了WPF 中是否有 OpenForms 属性?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在 WinForms 中,您可以使用 Application.OpenForms 获取所有打开窗口的列表吗?有没有 WPF 版本的?
In WinForms you can get a list of all open windows using Application.OpenForms? Is there a WPF version of that?
推荐答案
您正在寻找 Application.Windows
.
You're looking for Application.Windows
.
这篇关于WPF 中是否有 OpenForms 属性?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文