Bind DoubleClick Command from DataGrid Row to VM

后端 未结 4 812
悲&欢浪女
悲&欢浪女 2020-12-25 13:37

I have a Datagrid and don\'t like my workaround to fire a double click command on my viewmodel for the clicked (aka selected) row.

View:

   

        
4条回答
  •  梦毁少年i
    2020-12-25 13:51

    Way simpler than any of the proposed solutions here.

    I'm using this one.

    
            
    
                
    
                
                    
                
            
    

    from WPF DataGrid: CommandBinding to a double click instead of using Events

提交回复
热议问题