Silverlight - Disabling Item Selection from ListBox
- by Villager
Hello,
I have a ListBox defined in Silverlight. Each item in this ListBox has a CheckBox. Based on some rules when the ListBox is populated, some of the items in the ListBox get selected. This is used just for the sake of highlighting certain rows.
When a user clicks an item in the ListBox, I want to check or uncheck the CheckBox in the item. However, I want to leave the item as appeared as selected because of the highlighting.
Is there a way to do this? If not, is there a repeater control where I can highlight certain rows but not others when items are loaded?
Thank you,