Closed ronakshethia closed 5 years ago
i am trying to send value in command parameter to get it in my clicked binding of viewmodel something like this https://docs.microsoft.com/en-us/xamarin/xamarin-forms/app-fundamentals/data-binding/commanding#using-command-parameters
whenever i am doing this ClickedCommandParameter="1" my button get disabled could u please help me how can i get the command parameter value in viewmodel
What was the solution for this problem?
Hi I am facing the same problem. Please advise
Update-- I managed to rectify the problem by setting the binding context in the ContentPage constructor
i am trying to send value in command parameter to get it in my clicked binding of viewmodel something like this https://docs.microsoft.com/en-us/xamarin/xamarin-forms/app-fundamentals/data-binding/commanding#using-command-parameters
whenever i am doing this ClickedCommandParameter="1" my button get disabled could u please help me how can i get the command parameter value in viewmodel