如何在wpf中将多个窗口作为mdichilds显示在单个窗口下 [英] how to dispaly multiple windows as mdichilds under a single window in wpf
本文介绍了如何在wpf中将多个窗口作为mdichilds显示在单个窗口下的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在wpf中有两个窗口,员工和部门.
我必须将这些窗口作为子窗体显示在另一个窗口下.
每当我从顶部的菜单项中选择一个特定的窗口时,我都应该能够显示它.
请帮助我,我是wpf的新手.
解决方案
据我所知,WPF不提供Windows窗体之类的任何内置MDI功能.但是,有很多方法可以实现.
我想到了 AvalonDock ...它提供了比您实际需要的功能更多的功能,并且肯定支持MDI排序方案.
I have two windows, employee and department, in wpf.
I have to display these windows as child forms under another window.
Whenever I select a particular window from menu items at the top, I should be able to display it.
Please help me, I am new to wpf.解决方案As far as I know WPF does not provide any built-in MDI functionality like Windows Forms. However, there are ways to do it.
AvalonDock comes to my mind... It provides more functionality than you actually need and it definitely enables MDI-sort-of scenarios.
这篇关于如何在wpf中将多个窗口作为mdichilds显示在单个窗口下的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文