Changes
/* OnPlatform + OnIdiom backup */
== OnPlatform + OnIdiom backup ==
{{UnderConstructionStart}}=== Syntax Changes (REMOVE as we only want to promote using the inline syntax, which is covered in Mandatory, for multiline and other cases we refer to the other wiki article) ===
'''Use inline or multi-tag syntax.'''
Single-tag syntax is outdated and may not build.
|}
=== WinPhone to WinUI (REMOVE / duplicate information) ===
'''Replace WinPhone with WinUI.'''
|}
=== GridLength and TypeArguments (REMOVE as covered in Mandatory, but needs to be explained better there) ===
'''Avoid x:TypeArguments with GridLength.'''
⚠️ Inline syntax is more reliable when using bindings or resources.
=== Special Characters (REMOVE as it's rather a general rule and not necessarily MAUI related) ===
'''Wrap values in quotes if they contain commas or strings.'''
|}
=== UWP to WinUI (REMOVE as it's not mandatory, there's a Maui internal fallback) ===
'''Replace UWP with WinUI in all OnPlatform scopes.'''
⚠️ For more details, refer to the [https://wiki.augmensys.com/index.php?title=XAML_Tips#Device_and_Platform_Responsiveness Wiki documentation].
{{UnderConstructionEnd}}
[[Category:How-To|Convert Xamarin XAMLs to Maui]]
[[Category:Mobile|Convert Xamarin XAMLs to Maui]]
[[Category:XAML|Convert Xamarin XAMLs to Maui]]
