Aligning code in the code-behind as well as in front-end makes the code more professional look. The Visual Studio Code Editor gives you the ability to format your code with options such as hiding text, displaying URLs, and so forth.
Introduction The Visual Studio Code Editor gives you the ability to format your code with options such as hiding text, displaying URLs, and so forth. The language engine also provides features to auto-format your code as you type through Smart Indenting.
You can choose three different styles of text indenting. You can also specify how many spaces compose a single indentation or tab, and whether the editor uses tabs or space characters when indenting.
To automatically indent all of your code
To automatically indent selected code
Converting Text to Upper and Lower Case
You can use commands to convert text to all upper or all lower case.
To switch text to upper or lower case
Displaying and Linking to URLs
You can create and display active URLs (Uniform Resource Locators) in your code. You can then click the link and be taken to the web page in a browser. By default, the URLs:
To display a clickable URL
The case conversion commands do not affect the case of intrinsic commands.
Pro WPF: Windows Presentation Foundation in .NET 3.0