复合 WPF Visual Studio 风格界面
我希望使用 WPF 复合应用程序指南 (PRISM) 设计 Visual Studio 界面风格的界面。 我想在左边有一棵树,可以打开不同的视图。 当有人单击树中的节点时,会在右侧的选项卡中打开视图。 如果视图已在选项卡中打开,请将其置于最前面。 我还希望树与活动选项卡同步。
我尝试搜索一些与此相关的文章,但没有成功。 有谁有关于如何实现这一点的链接或信息?
I am looking to design an interface in the style of the Visual Studio interface with WPF Composite Application Guidance (PRISM). I would like to have a tree on the left with the different views that can be opened. When some one clicks on a node in the tree, have the view open on the right in a tab. If the view is already opened in the tab, bring it to the front. I would also like the tree to be in sync with the active tab.
I've tried searching for some articles on this with no luck. Does anyone have any links or information on how to implement this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我认为你应该先从 MVVM 开始。
http://msdn.microsoft.com/en-us/magazine/dd419663。 ASPX
I think you should start with MVVM first.
http://msdn.microsoft.com/en-us/magazine/dd419663.aspx
Infragistics 有一个 xamDockManager 控件,可以执行许多操作为你工作。 我没有使用过这个特定的控件,但我使用过他们的一些其他 WPF 控件,并取得了不同程度的成功。
Infragistics has a xamDockManager control that will do a lot of the work for you. I have not used this particular control, but I have used some of their other WPF controls with varied success.