You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, XamlC never compiles bindings when Source is specified. Since #19995 has been merged, we do not need to skip compiling bindings with explicit source.
We should also be able to infer the x:DataType value based on the Source in several cases:
When the source is RelativeSourceExtension with the mode Self or FindAncestor
When the source is a reference to an object of a known type Source={x:Reference mySource} (blocked by [XamlC] Compile x:Reference #20726)
Currently, XamlC never compiles bindings when
Sourceis specified. Since #19995 has been merged, we do not need to skip compiling bindings with explicit source.We should also be able to infer the
x:DataTypevalue based on theSourcein several cases:RelativeSourceExtensionwith the modeSelforFindAncestorSource={x:Reference mySource}(blocked by [XamlC] Compile x:Reference #20726)