本文介绍了在WPF中替代MDI?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

希望这是一个适当的问题...
我是第一次玩WPF,其最终目的是最终将我们的程序从Winforms应用程序转换为WPF应用程序.我们的应用程序当前使用MDI表单作为主要表单,以允许多个打开的窗口显示数据等.

Hopefully this is an appropriate question...
I'm playing around with WPF for the first time with the ultimate goal of eventually converting our program from a winforms app to a WPF app. Our app currently uses a MDI form as the main form, to allow for multiple open windows to display data and such.

在WPF中,显示多组数据的最佳实践是什么?
我已经在VS 2010中看到了tab方法,但这是最好的方法吗?还有什么其他方法?

In WPF, whats the best practice for displaying multiple sets of data?
I've seen the tab method in VS 2010, but is this the best way? What other methods are there?

我们还只是在初期阶段,我们就希望更新后的程序具有什么样的功能,而我对WPF的了解还不多,因此,如果我有一个更好的问题要问,请告诉我.或者,如果这应该是维基问题.

We are only in the early stages of figuring out what we want the updated program to behave like, and I don't know much about WPF yet, so if there is a better question I should be asking, let me know. Or if this should be a wiki question.

推荐答案

您可以使用 AvalonDock -它会创建类似于Visual Studio的可停靠子窗口的界面.它还允许在应用程序内部浮动窗口(这些窗口也可以选择停靠以创建选项卡式界面).

You could use AvalonDock - it creates interface of dockable sub-windows similar to Visual Studio. It also allows for floating windows inside the application (and these windows can optionally be docked to create tabbed interface).

通常,我认为这样的可停靠接口比传统的MDI更好.

Generally, I consider such dockable interfaces to be much better than traditional MDI.

这篇关于在WPF中替代MDI?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-20 08:40
查看更多