Forum Xamarin Xamarin.Forms

How to develop a filter functionality with 3 Parameters

SwagatikaSwagatika Member ✭✭✭

I am trying to develop filter functionality in a list where 3 options are there. Place name,id,Days. I used Picker for names and days, but how to send all the picker Selected items to a button.Any suggestion please?


  • NMackayNMackay GBInsider, University mod

    I would bind the selections of each filter type to your viewmodel and then use the button command to do the filtering based on the viewmodel properties.

    If it was a single control you could use relative source binding to pass the selecteditem value through to the command parameter but that's not an option in this scenario.

Sign In or Register to comment.