Disable the WPF designer in VS 2010?

后端 未结 4 858
暖寄归人
暖寄归人 2021-02-11 14:06

Is there a way to disable the WPF designer (the preview pane, I only need the XAML-pane with intellisense) in VS 2010?

Please note that when hiding the Design v

4条回答
  •  感情败类
    2021-02-11 14:20

    I haven't tried this in Visual Studio 2010, but in 2008 you can have it treat XAML files as XML files (and thus use the standard XML text editor, rather than the designer's XML editor). You can do this by right clicking an XAML file, select "Open With", pick XML file from the list, and then set that as the default.

    At least in 2008, you still got pretty good intellisense, but none of the overhead of the XAML designer.

提交回复
热议问题