Chapter 4. XAML

This chapter covers

  • XAML elements and namespaces
  • Properties, events, and commands
  • Object trees and namescope

XAML (Extensible Application Markup Language) is a declarative language that enables you to create and initialize objects using XML. This approach to development was popularized by the WPF and Silverlight, as well as by Silverlight on Windows Phone.

Everything you can do in XAML, you can do in code. But to make the most of the platform and its tooling, you’ll want to embrace the code-plus-markup philosophy rather than go with a 100% code solution. The road to this approach has been well trodden by Silverlight, WPF, and Windows Phone, so I’m completely comfortable in saying code plus markup should be the default ...

Get Windows Store App Development: C# and XAML now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.