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

Modify Item Checked State

1 Answer 23 Views
ListPicker
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Simon
Top achievements
Rank 1
Simon asked on 13 Feb 2014, 01:23 PM
Hi

I've just started using the RadListPicker in a new app to display a list of categories - the picker is set to multi-select mode.

My question is, is there a way to modify the checked state of items in the list after the data source has been bound?

For example, on first use by the end user the list should show all items pre-checked. The user may uncheck some items (which I'll store as an exception list) and at some point in the future the user may go back into the list and I'll need to refer to the exception list to ensure that previously unchecked remain that way when displayed.

Thanks

Simon

1 Answer, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 17 Feb 2014, 04:04 PM
Hi Simon,

Thank you for your question.

The checked items are actually the ones that are selected. You can use the SelectedItems collection and add all items from your list to this collection.

Don't hesitate to write us back in case you need further assistance.

Regards,
Todor
Telerik
If you want to get updates on new releases, tips and tricks and sneak peek previews directly from the developers working on the UI for Windows Phone, subscribe to the blog feed now.
Tags
ListPicker
Asked by
Simon
Top achievements
Rank 1
Answers by
Todor
Telerik team
Share this question
or