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?

1 Answer 1

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

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.