Answered by @Stephen Quan already, however as of 28 Jan 2025, bindings that define x:Reference
and Source
are compiled, unless there is an issue such as mismatch between x:DataType
and the type of the Source
. See the Compiled Bindings Microsoft docs.
Quote:
Prior to .NET MAUI 9, the XAML compiler would skip compilation of bindings that define the Source property instead of the BindingContext. From .NET MAUI 9, these bindings can be compiled to take advantage of better runtime performance.
Additionally, as of 15 Nov 2024, StaticResource
s are now compiled wherever possible. See the 9.0.10 release notes.