Handle cases where Binding
markup extension is treated as "regular" property value
#18345
Labels
difficulty/tbd
Categorizes an issue for which the difficulty level needs to be defined.
kind/bug
Something isn't working
project/binding 🪢
Categorizes an issue or PR as relevant to the binding engine
triage/untriaged
Indicates an issue requires triaging or verification
This is related to https://github.com/unoplatform/kahua-private/issues/205
Current behavior
On WinUI, this should set the binding as "regular" property, which is not the case in Uno.
IMPORTANT NOTES:
MyBinding
property was a DP, then the binding markup extension will be treated regularly as a binding, not property value.MyBinding
being a DP is not simply that there is a staticMyBindingProperty
, the registration name must match the C# property name. So, something likeDependencyProperty.Register("_MyBinding", ...)
will not considerMyBinding
as a DP, hence it will be regular property value.Expected behavior
Match WinUI
How to reproduce it (as minimally and precisely as possible)
No response
Workaround
No response
Works on UWP/WinUI
None
Environment
No response
NuGet package version(s)
No response
Affected platforms
No response
IDE
No response
IDE version
No response
Relevant plugins
No response
Anything else we need to know?
No response
The text was updated successfully, but these errors were encountered: