Option "Always open documents in full XAML view" does not work correctly - by jehof

Status : 

  By Design<br /><br />
		The product team believes this item works according to its intended design.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.

Sign in
to vote
ID 549873 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 4/9/2010 12:56:51 AM
Access Restriction Public


I´m developing a silverlight application with Visual studio 2010 RC and Silverlight 4 RC.

At project start (some time ago) i turned on the option "Always open documents in full XAML view", cause i didn´t need the split view of XAML and Designer.

Later now i tried to reset the view and turned the option "Always open documents in full XAML view" off, so that i get back to the split view when i open a xaml file.

But this doesn´t work. In only get the "Full XAML" View when i open a xaml file. Even a restart of Visual Studio or close all documents/solution and reopen the file doesn´t help and XAML files are always displayed as Full Xaml.

Visual Studio remembers my setting in the Options-Dialog, but doesn´t handle the value.
Sign in to post a comment.
Posted by Microsoft on 4/13/2010 at 3:11 PM
Hi Jehof

Thanks for trying Visual Studio 2010 and the Silverlight 4 Tools for Visual Studio 2010; thanks also for raising this issue.

The behavior you are seeing is in fact deliberate and expected. We offer two methods of controlling what mode a XAML file opens in (split or XAML view only):

1. File-by-file: we store the last state a file was opened in, and will re-open in that same state
2. Default for XAML files that haven't been opened before: this is controlled by the Tools-Options switch you have been using.

We don't override the file-by-file settings because this would be very irritating for users who have carefully set up the exact mode they want for particular files in their solution. I agree that the wording of the option switch could be cleared and mention that it only applies to files that haven't been opened in the designer before; I'll look into this for future releases.

You can always switch the mode for a particular file by working with the controls in the splitter bar, which will be rememebered when you close and open your file.

If you really wish to reset the open/close behavior for all XAML files in your project, you can achieve this by closing Visual Studio, then locating the SUO file adjacent to your SLN file and deleting or renaming it, then re-opening Visual Studio. When you re-open your solution an new SUO will be created and all files will be treated as "new". Please note this will also remove any other solution-specific IDE behavior for your solution.

Thanks again for your feedback; if you wish to discuss other feedback or issues with the Silverlight and WPF designer in Visual Studio 2010, please feel free to drop me an email at mwthomas at microsoft dot com.


Mark Wilson-Thomas
Program Manager, WPF & Silverlight Designer Team, Visual Studio
Posted by Microsoft on 4/12/2010 at 12:37 AM
Thank you for reporting this issue.
We are routing this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.