Versions: 2010
Published: 2/11/2010
Code: vstipTool0009
Now that you can free your document windows and put them on multiple monitors many people are asking how to do this with code-behind files. Assume we have a XAML document open like this:
But we want the Design in one window and the XAML in another so we can, say, work on each document in a separate monitor. Well, if you click and drag the document tab, both the design and the XAML go together:
So what do you do? The solution is pretty easy as it turns out. With the design view in one document, go to Solution Explorer and Right-Click the XAML file and choose "Open With.":
Now, in the Open With dialog, select "Source Code (Text) Editor" and click "OK":
You will now have two XAML windows. One will be for your designer and one for just the XAML:
Now you can put them on two different monitors or whatever you feel like doing. Enjoy!