0
<ListView.ItemTemplate>
    <DataTemplate>
         <CheckBox DataContext="{Binding}" Content="{Binding Converter={StaticResource MyConverter}}" IsChecked=??"/>
     </DataTemplate>
</ListView.ItemTemplate>

How can I set my IsChecked to return SomeList.Contains(Item)

derloopkat
  • 6,232
  • 16
  • 38
  • 45
  • You should have a look to this SO question : https://stackoverflow.com/questions/870163/wpf-checkbox-binding – dtlvd Mar 28 '18 at 13:13
  • Binding to a single property works fine, I am confused because this is in a listView –  Mar 28 '18 at 13:20
  • 1
    In MVVM you would typically make a property which produces result you need and then simply bind to it. It's not clear what is `Item` maybe you can use converter with `ConverterParameter="{Binding Item}"`. – Sinatr Mar 28 '18 at 13:47
  • Not nearly enough code here to tell. What is the list view bound to? What type is SomeList? –  Mar 28 '18 at 14:28

0 Answers0