C# WPF ListBox Checkbox Binding IsChecked to a Field and IsSelected?

后端 未结 4 1223
天涯浪人
天涯浪人 2021-02-06 01:09

I\'m trying to bind a CheckBox to a field but also trigger the checkbox\'s IsSelected.

Here is the ListBox setup that is working with the Binding to data



        
4条回答
  •  星月不相逢
    2021-02-06 01:15

    you can use a MultiBinding with MultiConverter

    
     
                     
                     
      
    
    

    and create a YourMultiBindConverter that implement IMultiValueConverter

提交回复
热议问题