Two Way Data Binding With a Dictionary in WPF

前端 未结 5 1407
天涯浪人
天涯浪人 2020-12-05 07:37

I\'d like to bind a Dictionary to a ListView in WPF. I\'d like to do this in such a way that the Values in the

5条回答
  •  南笙
    南笙 (楼主)
    2020-12-05 07:39

    I managed to do that in my project using an observable dictionary implemented by dr.wpf here and using as Value not a String but an object[]. In xaml i got something like:

    
                                
                                    
                                        
                                        
                                            
                                                
                                                    
                                                
                                            
                                        
                                    
                                
                             
    

提交回复
热议问题