Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable XAML UI designer

How to disable XAML designer in VS 2011.

I have checked following links possible to default-disable XAML designer in VS 2008?

http://www.dolittle.com/blogs/einar/archive/2008/04/24/quot-disable-quot-xaml-designer-in-visual-studio-2008.aspx

http://weblogs.asp.net/alexeyzakharov/archive/2010/01/27/disable-visual-studio-xaml-designer-better-way.aspx

Problem with above is that intellisense also goes away with setting different text editor.

like image 768
Tilak Avatar asked May 07 '12 11:05

Tilak


2 Answers

In Visual Studio 2015 you can completely turn off the XAML designer in:

Tools->Options->XAML Designer\Enable XAML Designer

XAML Designer toggle location in Visual Studio 2015

like image 159
Calin Pirtea Avatar answered Sep 24 '22 18:09

Calin Pirtea


For Visual Studio 2012 the Link "user1007074" provided (http://blog.spinthemoose.com/2013/03/24/disable-the-xaml-designer-in-visual-studio/) tells:

In the Tools –> Options menu, open the Text Editor node, then the XAML node, then select the Miscellaneous node; make sure that under the Default View heading there is a checkbox beside Always open documents in full XAML view.

also he suggest

Right-click on any .xaml file in your solution explorer and select Open With…

Choose editor and click "Set as Default". Many Thanks to David Alpert!

In Visual Studio 2015/2017/2019/2022:

  • In the Tools -> Otions menu, open the XAML Designer node, then uncheck "Enable XAML Designer"

VS 2017 Options Dialog to set Default document view to Source View or to disable XAML Designer

As Mark Bell pointed out, it can be enough to set the Default document view to Source View, and leave XAML Designer enabled.

like image 44
gReX Avatar answered Sep 25 '22 18:09

gReX