views:

28

answers:

0

Hi, I have a user with it's roles, it's an entitycollection. I have a ListBox that has all possible roles, and I have them like checkboxes, but I want to bind the IsChecked property of each one to check if the user has the role.

Something like IsChecked={Binding Roles.Contains}