我应该如何像在Visual Studio编辑器中那样创建多个编辑器文档 [英] How shall i create Multiple editor document as in Visual Studio editor
本文介绍了我应该如何像在Visual Studio编辑器中那样创建多个编辑器文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在创建一个编辑器应用程序
我将如何根据文件打开不同的选项卡式文档..
如在Visual Studio编辑器文档中一样
我正在尝试使用WPF实施
请通过合适的链接帮助或指导我.
在Advance中致谢
I am creating an editor application
How shall i make different tabbed documents based on the file opens..
As in the visual studio editor documents
I am trying to implement using WPF
Please help or guide me with suitable Link.
Thanks in Advance
推荐答案
编辑器控件
使用AvalonEdit(WPF文本编辑器) [ WPF扩展坞 [
Editor control
Using AvalonEdit (WPF Text Editor)[^]
Docking control
WPF Docking Library[^]
您最好的选择是使用TabControl并在用户打开新文档时创建一个新的TabPage.在CP上的在WPF中使用标签的多文档界面 [ ^ ].
希望对您有帮助
Your best bet is to use a TabControl and create a new TabPage whenever a user opens up a new document. There is a very good article here on CP on Tabbed Multiple Document Interface in WPF[^].
Hope this helps
这篇关于我应该如何像在Visual Studio编辑器中那样创建多个编辑器文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文