Forum Libraries, Components, and Plugins

Bind Command to a template view from viewmodel xamarin prism

viniciusmsdsviniciusmsds Member ✭✭

I use prism on the project. My problem is: i have a View OrdemServicoView and a model OrdemServicoViewModel, OrdemServicoView has a syncfusion list... inside has a DataTemplate with a some propertys pass and i can bind, but when i try use command inside template it doesnt work, the command code is in OrdemServicoViewModel... how can i do that?


public DelegateCommand ItemSelectedCommand { get; set; }
OrdemServicoView (List):


In OrdemServicoCardView i try to make a button with ItemSelectedCommand binded

Best Answer


Sign In or Register to comment.