1

When I bind a button to a command, there doesn't seem to be a way to pass a parameter to the command in the view model. I know that MvxCommands can have an optional parameter, but how do I pass it one? Is there some kind of CommandParameter binding option like there is for ConverterParameter? What would really be nice is if the CommandParameter could be a function that dynamically calculates the parameter to pass to the command.

4

0 回答 0