3. Layouts and Controls
Layouts and Controls are the building blocks of the user interface for Windows Store apps. You declare these building blocks using Extensible Application Markup Language (XAML, pronounced “zammel”). XAML is an open specification1 that provides a declarative syntax for instantiating objects and setting their properties. XAML was originally used to declare the UI for WPF applications and was later included with Silverlight. The Windows Runtime extends XAML with the capability to create and set properties on WinRT components.
1XAML Object Mapping Specification, http://bit.ly/XRX03O
Elements in XAML documents represent objects. The following XAML snippet defines a Rectangle
instance.
<Rectangle/>
It is the equivalent of instantiating ...
Get Programming the Windows Runtime by Example: A Comprehensive Guide to WinRT with Examples in 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.