Summary
In this chapter, we reviewed four key advanced topics that allow you to manage the behavior of your app declaratively:
- Selecting data templates allows you to change the display of your data based on the specific content of each element in a collection
- Managing the view state allows you to modify the appearance of a control based on the state of that control (for example, does it have focus?)
- Behaviors allow, among other things, data validation and otherwise assist in providing actions that you declare
- Triggers change the appearance of controls based on data values in other controls or based on the state of other controls
This brings us to the end of .Net MAUI for C# Developers
. You are now fully equipped to create real-world professional .NET MAUI applications.
The key to success with .NET MAUI, as with so many programming skills, is hands-on experience. If you are not currently working on a .NET MAUI project, you will want to assign one to yourself...