Changes
/* Remove default ControlTemplate in DataTriggers */
|}
=== Remove default ControlTemplate in DataTriggers ==='''The default ControlTemplate needs to should be removed from the ContentView if the ControlTemplate property of that contains ContentView is determined by DataTriggers. The same applies to ContentControls. The default ContentTemplate should be removed from the controls:ContentControl if the ContentTemplate property of that ContentControl is determined by DataTriggers.''' Using only DataTriggers without a default ControlTemplate ensures that content is created only after the trigger evaluation is complete. If a default ControlTemplate is set, it is always loaded immediately, even if another template is applied right after.
For more details refer to [[Xamarin_XAML#Conflicting_Triggers|Conflicting Triggers]].
{| class="wikitable"
|}
[[Category:How-To|Convert Xamarin XAMLs to Maui]][[Category:MAUI|Convert Xamarin XAMLs to Maui]][[Category:XAML|Convert Xamarin XAMLs to Maui]]
=== Remove HeadlessLayout style ===