Search code examples
wpfuielementsilverlight-2-rc0

How can I make Silverlight controls invisible to mouse actions?


How can I get a UIElement to ignore mouse clicks on it and pass it through to the control behind it?

I have a 50% transparent UIElement which covers another element. When I attempt to click on the background element, the mouse click is captured by the foreground semi-transparent UIElement.


Solution

  • Set IsHitTestVisible=false