Appendix B. Changing the XAML formatting
This appendix shows how to change the XAML formatting to print each XAML attribute on a separate line. This makes the XAML file more readable and this is the formatting we use in our source code.
- Open the Options window by going to the Tools | Options menu item.
- Choose Text Editor | XAML | Formatting | Spacing within the left pane.
- Make sure you have the Position each attribute on a separate line and Position first attribute on same line as start tag options selected as shown in the following screenshot: