-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Bug] Compiled bindings not working when using AncestorType #9839
Comments
Any feedback about this issue? |
@StephaneDelcroix Is this going to be fixed someday ? |
@StephaneDelcroix |
@StephaneDelcroix @davidortinau
Thanks! |
Also, compiled bindings do not seem to work for:
Any reason for that ? Can this be fixed ? |
@tranb3r I also get this bug sadly, I noticed that from Multibinding not working. One workaround is to replace those faulty parts in XAML with respective C# code. It works for me at least for multibinding |
still its an issue.. |
if it's an issue in MAUI, file an issue over there |
It's not about Maui it's about Xamarin. Currently my company stays at Xamarin since .net Maui has too many flaws and is instable |
Description
Compiled bindings are not working when the binding source is a relative source using ancestor type.
{Binding Source={RelativeSource AncestorType={x:Type local:PeopleViewModel}}, Path=DeleteEmployeeCommand}
Expected Behavior
By definition, the binding source type is defined by AncestorType.
So it should be possible to resolve it at compile time.
Actual Behavior
Unfortunately, this type of binding is not compiled.
Basic Information
The text was updated successfully, but these errors were encountered: