Replies: 1 comment 7 replies
-
@simonrozsival appreciate you're probably quite busy, but would you be able to clarify my question given the scenario above fro the new xaml compilation engine? |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been upgrading my app to .NET 9 and I'm going through updating any of the xaml compile warnings that have appeared in my project.
I have the following scenario that I'm unsure on the best way to upgrade after reading the docs I'm not sure I understand how I need to change my xaml...
Xaml:
Command
If I add the
x:DataType
to my command parameter:I get the following warning
I'm not sure if this way of using xaml is recommended anymore. Could anyone explain whether this is the correct approach and offer suggestions?
The reason I'm using
x:Reference
here is I can pass the object directly to my command as opposed to having my list bind to a property in my viewmodel, then my command have to check it there. In my opinion this is a cleaner approach of setting up my UI, is this approach still valid?Beta Was this translation helpful? Give feedback.
All reactions