Visual Studio tip (learning)

Source: Internet
Author: User
Tags visual studio 2010
    • Opening XAML files fast:

Developing WPF screens in Visual Studio 2010 SP1 usingWindows Presentation Foundation designer, Even in code view, can still be a drag as it's slow and especially when opening a file.

Always open documents in full XAML View

The first step is to not open the design view. To do so go in"Tools> Options> text editor> XAML> miscellaneous", And check the"Always open documents in full XAML View"Option:

Using the source code editor

Openening XAML files in the Code view is better but if that's still not enough for you as it was for me, here's the ultimate tip: instead of opening them using the default editor (Windows Presentation Foundation designer), open them using the"Source code (text) Editor": It's as fast as opening a classic XML file, and you'll still get the auto-completion, which is not the case when using the"XML (text) Editor"(Yeah, I tried that one first ).

To set that up, right-click on a XAML file and select"Open...", Then in the dialog set the"Source code (text) Editor"As the default editor by clicking on the"Set as default"Button:

Now try opening one of your big WPF screen, and Taa-daa !! It's lightning fast!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.