Solution: Applying Multi-triggers
Review the solution to applying multi-triggers in an MAUI app.
We'll cover the following...
The completed solution is presented in the code playground below:
<?xml version = "1.0" encoding = "UTF-8" ?> <Application xmlns="http://schemas.microsoft.com/dotnet/2021/maui" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:local="clr-namespace:MultiTriggersDemo" x:Class="MultiTriggersDemo.App"> <Application.Resources> <ResourceDictionary> <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="Resources/Styles/Colors.xaml" /> <ResourceDictionary Source="Resources/Styles/Styles.xaml" /> </ResourceDictionary.MergedDictionaries> </ResourceDictionary> </Application.Resources> </Application>
Solution to multi-trigger challenge
Solving the challenge
This is an example of a solution that can be applied to complete each task.