问题描述
在Visual Studio 2008中,当您将新的XAML窗口添加到WPF应用程序项目时,默认视图为拆分视图",其中,视觉设计器和XAML代码在同一文档中一个接一个地显示.
In Visual Studio 2008, when you add a new XAML window to a WPF Application Project, the default view you get is "split view" where the visual designer and the XAML code are shown one above the other in the same document.
我更喜欢另一种视图,您可以通过双击设计"或"XAML"选项卡来获得.视觉设计器和XAML位于单独的并排选项卡式视图中.这样可以轻松地在它们之间切换
I prefer an alternative view which you can get by double-clicking on either the Design or XAML tabs. The visual designer and the XAML are in separate side-by-side tabbed views. This makes it easy to switch between them
我想知道是否可以将它添加到我的项目中的所有新XAML文档的默认视图中,以及在选项中的何处进行设置.
I want to know if it possible to make this the default view for all new XAML documents I add to my project, and where in the options you would set it.
推荐答案
工具/选项/文本编辑器/Xaml/其他,选中始终以完整的XAML视图打开文档"
Tools/Options/Text Editor/Xaml/Miscellaneous, check the "Always open documents in full XAML view"
这篇关于如何在Visual Studio 2008中设置默认XAML视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!