Over a million developers have joined DZone.

How to get rid of the XAML Design view inside Visual Studio IDE?


If you work in XAML pages, sometime you might noticed that the XAML page freezes for sometime while opening the page in design view. This is very annoying and many time it is responsible to crash the Visual Studio IDE. So what to do?

If you use Expression Blend to design the XAML page or don't want to open the XAML in design view, this small tip will help you to improve the performance of the IDE. Read more to know.

If you noticed that your Visual Studio IDE freezes or crashes while opening any XAML file, just follow the below mentioned steps to enable the IDE to open the page always in XAML view instead of the Design view.

Inside the Visual Studio IDE, go to the Tools menu and click on the "Options" menu item to open up the options dialog as shown below:

Open Tools menu - Options

Inside the options dialog, expand the "Text Editor" tree item and find out the XAML tree as shown below. Expand the XAML tree item too and select the "Miscellaneous" item. This will open the miscellaneous tab in the right panel. Find out the section called "Default View" and make sure that the checkbox titled "Always open documents in full XAML view" is checked; if not, just check it to enable the feature. Click "OK" to save the settings.

Change Settings to Open the documents in full XAML view

Now, whenever you open any XAML file in Visual Studio, it will open that in full XAML view and make your IDE responsive. Hope this tip help you to improve your productivity. If this helped you, please drop a line below and help me to come with some other new tips for you. Enjoy coding...


Published at DZone with permission of Kunal Chowdhury, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}