checkbox click event

2 posts, 0 answers
  1. Jay
    Jay avatar
    4 posts
    Member since:
    Jun 2015

    Posted 20 Mar 2018 Link to this post

    in ios, is there way to bind command to checkbox?  I want to select item when checkbox is tapped when SelectionGesture is hold.
  2. Lance | Manager Technical Support
    Lance | Manager Technical Support avatar
    1168 posts

    Posted 22 Mar 2018 Link to this post

    Hello Jay,

    Due to the fact that not every platform uses checkboxes, we don't have an external property for you to directly hook into the checkbox. You can modify the items in the SelectedItems collection (adding an item to the collection will show it as checked and vice versa).

    You can use Xamarin EventToCommand behavior binding for ItemTapped and ItemHold events. See the RadListView Events documentation for more details. 

    An alternative option to using events is the RadListView's commands collection. However, there isn't yet a Commands article in the documentation. I've logged this in our backlog, you can up-vote and follow in in the Feedback Portal using this link: Add Commands Documentation. You can follow the DataGrid Commands article for initial guidance as they're the same approach, but has different command IDs.

    Lance | Tech Support Engineer, Sr.
    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top