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
I am attempting to port over this WPF MethodBindingExtension over to Avalonia UI. The only thing that is currently blocking me is that the IProvideValueTarget TargetObject is returning itself (as in the MarkupExtension class) rather than the actual object
the MarkupExtension is being used within, i.e. Button. I've compared this behaviour in WPF and I can see that the IProvideValueTarget is returning the correct TargetObject.
Avalonia UI
WPF
I can only assume that this is a bug, unless of course Avalonia is correct?
The text was updated successfully, but these errors were encountered:
Also, keep in mind that services should be resolved and consumed before leaving ProvideValue. The IProvideValueTarget instance is reused, so it will contain irrelevant values otherwise.
I am attempting to port over this WPF MethodBindingExtension over to Avalonia UI. The only thing that is currently blocking me is that the IProvideValueTarget TargetObject is returning itself (as in the MarkupExtension class) rather than the actual object
the MarkupExtension is being used within, i.e. Button. I've compared this behaviour in WPF and I can see that the IProvideValueTarget is returning the correct TargetObject.
Avalonia UI
WPF
I can only assume that this is a bug, unless of course Avalonia is correct?
The text was updated successfully, but these errors were encountered: