Quoted from the official documentation title Compiled bindings:
Important
Compiled bindings are disabled for any binding expressions that define theSource
property. This is because theSource
property is always set using thex:Reference
markup extension, which can’t be resolved at compile time.
In addition, compiled bindings are currently unsupported on multi-bindings.
I don’t understand why Source
property is always set using x:Reference
while we know that we can also use Source={StaticResource xyz}
, for example. So in this case are compiled bindings disabled too?