在 VS2010 中为 WPF 将设计器与 XAML 窗口分开 [英] Separating designer from XAML window for WPF in VS2010

查看:23
本文介绍了在 VS2010 中为 WPF 将设计器与 XAML 窗口分开的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Visual Studio 2010 中没有看到用于将设计器窗口与 WPF 的 XAML 窗口分开的按钮.

I don't see a button to separate the designer window from the XAML window for WPF in Visual Studio 2010.

我有三个屏幕,我想要一个全屏 XAML 窗口和一个全屏设计器窗口.

I've got three screens, and I want both a full screen XAML window and a full screen designer window.

推荐答案

  1. 照常打开 XAML 文件.
  2. 在解决方案资源管理器中,右键单击您的 XAML 文件并选择打开方式...",然后选择源代码(文本)编辑器",然后选择确定".

您的 XAML 文件现在应该有两个选项卡,一个在设计视图中,一个在代码视图中.此时,您可以将其中一个拖到第二台显示器上,而将另一个留在原处.

You should now have two tabs for your XAML file, one in design view and one in code view. At this point, you can drag one of them onto your second monitor while leaving the other in place.

希望有帮助!

这篇关于在 VS2010 中为 WPF 将设计器与 XAML 窗口分开的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆