robinmanuelthiel / flexbutton

Flexible button control for Xamarin.Forms
MIT License
240 stars 34 forks source link

how to use flex button with command parameter #71

Closed ronakshethia closed 5 years ago

ronakshethia commented 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

fjuzen commented 4 years ago

What was the solution for this problem?

qz2rg4 commented 4 years ago

Hi I am facing the same problem. Please advise

qz2rg4 commented 4 years ago

Update-- I managed to rectify the problem by setting the binding context in the ContentPage constructor