Find out how to use type convertors and markup extensions to convert XAML properties to .NET properties and create, organize, and consume XAML resources.
- View Offline
- [Instructor] Welcome to my XAML Type Converters and Resources course. Join me as I continue my series about the Microsoft eXtensible Application Markup Language. I'll start by exploring the Type Converter and how the XAML processor invokes it to transform string values in the XAML file into the correct .net types for the property attribute. You'll see what happens to a property without a Type Converter and learn how to make custom Type Converters for your classes. Next, I'll investigate a fascinating part of the XAML frameworks, known as Resources. XAML Resources are a practical feature in the XAML framework that enable developers and designers to create, organize and consume reusable resources.
They are a vital part of the XAML infrastructure. They enable XAML styles, templates and shared colors and brushes, a great way to build consistency across your application interface. Finally, I'll take a quick peak at MergedDictionaries, which provide a way to load external resource files into a XAML application. That's the topics for this course. I know you are ready. Let's do this.
- 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