Objective 3.5: Create and manage XAML styles and templates

In a Windows Store app, the UI is built with standard controls, and a set of custom and user controls is also used whenever necessary. XAML is used to declare various controls and define their properties in a page. To customize the look and feel of the controls in a page, the properties of various controls are set to meet the app’s requirements. This approach of composing a UI is powerful because it separates the UI from the underlying data model.

In a complex UI with a large number of controls, customizing the look and feel of each control using XAML becomes very tedious. In such scenarios, you want to define a set of styles that enable you to separate the values of properties of an element ...

Get Exam Ref 70-484: Essentials of Developing Windows Store Apps Using C# 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.