我是很新的Xamarin cross-platform,虽然我也有一定的经验WPF和MVVM我仍然有问题,了解参数RelayCommand使用调用ICommand下面执行.有人可以解释如何正确地传递和接收CommandParameter我的视图到我的界限,RelayCommand因为这似乎安静不同于正常WPF版本RelayCommand:
/// <summary>
/// A command whose sole purpose is to relay its functionality
/// to other objects by invoking delegates.
/// The default return value for the CanExecute method is 'true'.
/// <see cref="RaiseCanExecuteChanged"/> needs to be called whenever
/// <see cref="CanExecute"/> is expected to return a different value.
/// </summary>
public class RelayCommand : ICommand
{
private readonly Action …Run Code Online (Sandbox Code Playgroud)