WPF的点击穿透

1.background 为{x:null} 或 透明色Transparent时, 鼠标点击会穿透

2.当依赖属性IsHitTestVisible 默认为true,设置成false时, 除了1以外的情况,鼠标也能穿透.

猜你喜欢

转载自www.cnblogs.com/nocanstillbb/p/10253776.html
今日推荐