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
Hi,
i was used to have my commands with parameters like for example an entry with its return command would have had it's entry.text as a command parameter and in my command declaration the CanExecute was an evaulation of the command parameter, if not null then command can execute.
Now i'm using the community toolkit with the relay command attribute and i don't see the possibility to do the same without binding my command parameter to the view model. Am i missing something?
Thanks
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
i was used to have my commands with parameters like for example an entry with its return command would have had it's entry.text as a command parameter and in my command declaration the CanExecute was an evaulation of the command parameter, if not null then command can execute.
Now i'm using the community toolkit with the relay command attribute and i don't see the possibility to do the same without binding my command parameter to the view model. Am i missing something?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions