Is there a way that I can let mouse events pass through to controls behind?
            Asked
            
        
        
            Active
            
        
            Viewed 2.0k times
        
    2 Answers
116
            Sure, just set IsHitTestVisible="False" on the control. Mouse events will pass through it.
 
    
    
        RJFalconer
        
- 10,890
- 5
- 51
- 66
 
    
    
        Rachel
        
- 130,264
- 66
- 304
- 490
- 
                    9What if I want both to get the mouse events? – John Demetriou Apr 25 '18 at 11:14
2
            
            
        I usually solve these kind of issues by adding handlers of child controls to the parent at construction. This way the 'click'-event for example activates a method that raises the 'click'-event of the parent.
 
    
    
        Geoffrey
        
- 956
- 1
- 10
- 16
 
    