O'Reilly logo

Instant Silverlight 5 Animation by Nick Polyak

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

  1. Open the Options window by going to the Tools | Options menu item.
  2. Choose Text Editor | XAML | Formatting | Spacing within the left pane.
  3. 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:
Changing the XAML formatting

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required