Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual studio 2015: How to have by default the XAML code, not the split view?

I don't use MUCH the XAML designer, but I appreciate at some time to have the possibility to use, and more, to have the "Properties" windows present to set some properties.

But I would like that when I click on a XAML file, I get the XAML code, without the GUI part. Basically, the Xaml Designer, but not in "split" view.

Is this possible?

I found that it is possible to totally disable the XAML designer, but then:

  • I don't get the possibility to just switch to this view(well with Open Width, yes)
  • More important, I don't have the "Properties" windows populated with the properties of the currently selected XAML

I also found that there is a setting with a default view(Tools, Options, XAML Designer, Default Document view: SourceView), but this doesn't work(or I didn't understood), I still get the default split view, even after a VS2015 restart.

So is it possible to keep the XAML designer, but have by default only the XAML displayed?

like image 965
J4N Avatar asked Aug 04 '16 11:08

J4N


People also ask

How do I get XAML view?

To open the XAML Designer, right-click a XAML file in Solution Explorer and choose View Designer. to switch which window appears on top: either the artboard or the XAML editor.

Where is XAML file in Visual Studio?

To open this page, choose the Tools menu and then choose Options. To access the XAML Designer property page, choose the XAML Designer node. Settings for the XAML Designer are applied when you open the document. So, if you make changes to the settings, you need to close and then reopen Visual Studio to see the changes.

What is XAML code?

Extensible Application Markup Language (XAML /ˈzæməl/ ( listen)) is a declarative XML-based language that Microsoft developed for initializing structured values and objects.

What is XAML in Visual Studio?

Applies to: Visual Studio Visual Studio for Mac Visual Studio Code. Extensible Application Markup Language (XAML) is a declarative language that's based on XML. XAML is used extensively in the following types of applications to build user interfaces: Windows Presentation Foundation (WPF) apps.


1 Answers

Easy Way.

Go to Tools -> Options.

and follow the screen shot. enter image description here

like image 158
Rahul Sonone Avatar answered Oct 31 '22 04:10

Rahul Sonone