Working with Styles in Xamarin.Forms 4 Applications
This course teaches you how to reuse user interface code in your Xamarin.Forms applications with XAML Styles and with Cascading Style Sheets (CSS).
What you'll learn
To avoid UI code duplication in your Xamarin.Forms apps is a thorough knowledge of reusing UI code with styles. In this course, Working with Styles in Xamarin.Forms 4 Applications, you’ll learn how to use styles in your Xamarin.Forms apps to reuse UI code. First, you’ll explore what a style is and you will create your first implict, explicit, and global styles in XAML. Next, you’ll discover how to reuse UI code with advanced style features, like style inheritance, style classes and dynamic styles. Finally, you’ll learn how to style your Xamarin.Forms apps with Cascading Style Sheets (CSS). When you’re finished with this course, you’ll have the skills and knowledge of XAML Styles and CSS in Xamarin.Forms that is needed to create reusable and maintainable UI code in your applications.
Table of contents
- Version Check 0m
- Introduction 1m
- What Are Styles and Why Use Them? 3m
- How This Course Is Structured 2m
- The Wired Brain Coffee Scenario 1m
- Look at the Coffee Expert App 4m
- Create Your First Style 5m
- Use an Explicit ResourceDictionary 3m
- Understand How Styles Are Searched 3m
- Define a Global Style 3m
- Create an Implicit Style 4m
- Use an Implicit Style at the Control Level 3m
- Create Multiple Explicit Styles for the Same Type 4m
- Summary 1m
- Introduction 2m
- Inherit a Style from Another Style 3m
- Target a Base Type with an Explicit Style 3m
- Target a Base Type with an Implicit Style 4m
- Use a Cascading Explicit Style 5m
- Apply Multiple Styles with Style Classes 6m
- Target a Base Type with a Style Class 3m
- Reference a Color from a Style Setter 3m
- Move Styles to a Separate ResourceDictionary 5m
- Add a Dynamic Style 9m
- Work with Device Styles 1m
- Inherit from a Dynamic Style 2m
- Summary 1m