Microsoft XAML: 3 Type Converters and Resources
1h 24mIntermediate2016-10-27
Authors

Walt Ritscher
Programmer, UI Designer, Staff Instructor at LinkedIn Learning
Course details
XAML is one of the primary languages used to create user interfaces for .NET and Windows 10. To develop apps with this framework, you need to be able to map relationships between .NET types and XAML objects and to work with reusable resources. This course, the third in our Microsoft XAML Fundamentals series, shows how to use type convertors and markup extensions to convert XAML properties to .NET properties, and how to create, organize, and consume XAML resources. Instructor Walt Ritscher also explains how to enable XAML styles, templates, and shared colors and brushes via resources, and load external resource files with merged dictionaries.
Learning objectives
Creating custom type converters
Creating custom markup extensions
Adding parameters
Using resources
Working with styles, colors, data, and templates in resources
Creating resources
Locating resource files
Loading resource files
Learning objectives
Creating custom type converters
Creating custom markup extensions
Adding parameters
Using resources
Working with styles, colors, data, and templates in resources
Creating resources
Locating resource files
Loading resource files
Skills covered
XAMLASP.NETAzureProgramming LanguagesMicrosoftSoftware DevelopmentDeep Dive (X:Y)
Concepts
0. Introduction
- 01 - Welcome
- 02 - What you should know before watching
- 03 - How to use the exercise files
1. Type Conversion and Runtime Injection
- 04 - Explore the concepts of type converters
- 05 - Use some type converters
- 06 - Create a custom type converter
- 07 - A markup extension and how it compares to a type converter
- 08 - Use some common markup extensions
- 09 - Create a custom markup extension
- 10 - Add parameters to a custom markup extension
2. Resources
- 11 - Types of resources
- 12 - XAML resources and ResourceDictionaries
- 13 - The Resources property
- 14 - Use resource with the StaticResource markup extensions
- 15 - Styles in resources
- 16 - Colors in resources
- 17 - Data and templates in resources
- 18 - Explore the resource hierarchy
- 19 - Create Resources with the Properties window
- 20 - A quick look at merged resources
- 21 - Use the Pack URI to locate resource files
- 22 - Load a resource file for dynamic application UI
Conclusion
- 23 - Next steps
Related courses
- XAML Fundamentals: Building Powerful UIs for Cross-Platform Applications
- Microsoft XAML: 2 Content and Properties
- Microsoft XAML: 1 Core Concepts
- .NET MAUI for Beginners
- C# Cross-Platform Development
- Visual Studio 2022: First Look
- Windows Presentation Foundation 4: Brushes and Colors
- Windows Presentation Foundation: 2 Layout
Related learn paths
- Prepare for the Certified Information Security Manager (CISM) exam
- Prepare for the Microsoft 365 Fundamentals (MS-900) Certification by Microsoft Press
- Prepare for the Power Platform Fundamentals (PL-900) Certification from Microsoft Press
- Master Excel for Data Science
- Build Your Laravel Skills
- Prepare for the Administering Microsoft System Center Configuration Manager and Cloud Services Integration Exam (70-703)
- Prepare for the Microsoft 365 Identity and Services (MS-100) Certification Exam
- Prepare for the Microsoft 365 Security Administration (MS-500) Exam