This is a migrated thread and some comments may be shown as answers.

checkbox click event

1 Answer 41 Views
This is a migrated thread and some comments may be shown as answers.
Jay
Top achievements
Rank 1
Jay asked on 20 Mar 2018, 03:17 PM
in ios, is there way to bind command to checkbox?  I want to select item when checkbox is tapped when SelectionGesture is hold.

1 Answer, 1 is accepted

Sort by
0
Lance | Manager Technical Support
Telerik team
answered on 22 Mar 2018, 08:15 PM
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.

Regards,
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
Asked by
Jay
Top achievements
Rank 1
Answers by
Lance | Manager Technical Support
Telerik team
Share this question
or