I have a listbox and I have set the itemstemplate as shown below.
XAML:
Binding the IsChecked property to a boolean property on your object instance contained within DataList would be the simplest and cleanest way. Alternatively, if you want to avoid code behind, then you could write an attached property.
IsChecked
DataList