Use Xamarin.Forms resources and styles to manage shared values and provide a consistent UI.
- [Helen Miller] Hello, and welcome to resources and styles in Xamarin.Forms, presented by the team at Microsoft's Xamarin University. My name is Helen Miller, and I'm a content developer at Xam U. In this course, we'll be discussing how to use resources and styles in Xamarin.Forms, to manage shared values and provide a consistent look and feel to your UI. You'll also hear from my colleague Jesse Dietrichson. He's another content developer at Xamarin University, and a Xamarin trainer. Using the same fonts and colors across your entire UI creates a consistent look and feel.
Xamarin.Forms provides a way to define these values in one place, so you can look them up everywhere they are used. This guarantees consistency across your app, and makes updates very simple. This course shows you how to define your UI in XAML. You'll create pages and add controls all in markup. You will also see how to access UI elements from code, so you can subscribe to UI events and update UI properties as your data changes. We'll be guiding you through a series of videos and have provided exercises where you can apply what you've learned.
We've also provided completed solutions for you to use, so you can check your work. By the end of this course, you'll be able to avoid duplicate XAML with resources, create a consistent UI with styles, make your resources and styles available across your entire app, and apply the user's accessibility choices with built in styles. And all of your code will be written in C# using Visual Studio and Xamarin. So now let's get started.
This course was created by Xamarin University. We are honored to host this training in our library.