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

后端 未结 4 1226
天涯浪人
天涯浪人 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:16

    Would it work to bind both UI properties to the Checked object model property?

    
        
    
    
    
       
          
       
    
    

提交回复
热议问题