Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WPF overlay control

thanks for the all the help in past questions. I have come to summon you once again.

So let's say I have same size user controls A,B with a z-index of 0,1, respectably.

Is it possible to have B not catch any touches that are intended to A?

Basically I would like to have a user control which comes up over another but does not block touches.

Thanks,

like image 600
DoubleDunk Avatar asked Apr 29 '26 15:04

DoubleDunk


1 Answers

If you set the UIElement.IsHitTestVisible property to false, your control should not "catch any touches". For details, refer to Hit Testing Support.

like image 111
Reed Copsey Avatar answered May 01 '26 04:05

Reed Copsey



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!