Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我怎样才能UIElement忽略鼠标点击并将其传递给它后面的控件?
UIElement
我有一个 50% 的透明UIElement覆盖另一个元素。当我尝试单击背景元素时,鼠标单击被前景半透明捕获UIElement。
放IsHitTestVisible=false
IsHitTestVisible=false