简体   繁体   English

禁用XAML预览

[英]Disable XAML Preview

In Visual Studio 2008 when I open a XAML file from the project it displays the horizontal split with the preview on the top, and the XAML on the bottom. 在Visual Studio 2008中,当我从项目中打开XAML文件时,它会显示水平分割,顶部是预览,底部是XAML。 Most of the time our XAML won't render in the preview, so I just have to wait for it to try to render, and then close the preview. 大多数时候我们的XAML不会在预览中渲染,所以我只需要等待它尝试渲染,然后关闭预览。

Is there a way to have it default to not showing the XAML Preview window and just giving me a full XAML edit window? 有没有办法让它默认不显示XAML预览窗口,只是给我一个完整的XAML编辑窗口? Thanks! 谢谢!

From the VS2008 menu select tools , options to display the options dialog. 从VS2008菜单中选择工具选项以显示选项对话框。 Then from the treeview in the dialog select text editor , xaml , miscellaneous then check the always open documents in full XAML view in the right pane. 然后从对话框中的树视图中选择文本编辑器xamlmiscellaneous,然后在右窗格中的完整XAML视图中检查始终打开的文档

It was supposed to be removed with the release of the tools for Silverlight 3, but it's still there, it's just hidden by default. 它应该是随着Silverlight 3工具的发布而删除的,但它仍然存在,它只是默认隐藏。 This saves having to close it at least, but doesn't fix the performance problems that are the heart of the matter. 这样可以节省至少关闭它,但不能解决作为问题核心的性能问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM