1

I read this posing about passing multiple parameters as commandParameter in InvokeCommandAction: How to pass Multiple parameters as CommandParameter in InvokeCommandAction In WPF App Using MVVM But that solution is for WPF.

I want to do the same on Windows phone 8.1. The IMultiValueConverter is not available on Windows phone.

How can I do solve it on windows phone?

Community
  • 1
  • 1
hap497
  • 154,439
  • 43
  • 83
  • 99

1 Answers1

0

you can make a model that contains your mulit parameters.

eg:

public class ParameterModel
{
    public string A { get; set;}
    public string B { get; set;}
}

and in your CommandParameter you can bind the model

AlexisXu
  • 126
  • 3