Firing a Command within EventTrigger of a style?

后端 未结 2 1462
夕颜
夕颜 2021-02-08 08:01

As you know you can\'t bind an Event directly to a command without a behaviour:


    
        

        
2条回答
  •  不要未来只要你来
    2021-02-08 08:48

    Since you are retemplating the DataGridCell, you could add the triggers to the root element in the control template. Something like:

    
        
            
                
                    
                                            
            
        
    
    

提交回复
热议问题