WPF MouseDown等事件不响应的问题 - zLulus/My_Note GitHub Wiki

MouseDown是冒泡事件,因此仅当不会在子级别处理它时才会触发
要捕获相同的内容,您需要使用PreviewMouseDown事件,它是一个隧道事件

或者通过AddHandler设置事件

InitializeComponent(); 
AddHandler(FrameworkElement.MouseDownEvent, new MouseButtonEventHandler(Button_MouseDown), true);

参考资料

MouseDown event not working WPF