ICommand
can be found in ReactiveUI's ReactiveCommand
. If you've created your application using the Avalonia MVVM Application template then this will be available by default. See the ReactiveUI documentation for more information.CommandParameter
property:CommandParameter
, so if you need your type parameter to be something other than string
you must supply an object of that type in XAML. For example to pass an int
parameter you could use:CommandParameter
can also be bound.