WinUI3 propagate pointerpressed event to the background controls

52 Views Asked by At

I have grid and this grid has few children which are placed one above another like stack (not stackpanel). Topmost control has semi transparent background. And when user clicks on the topmost control I need this event to be cought by the control behind. Is it possible, because in WPF there are few types of events and it is possible.

Here is Scheme of controls. Black is parent grid. green is the control behind the red control which is topmost. Nothing happens when I set args.Handled = true or false to the routedeventargs of PointerPressed event of Red control

enter image description here

1

There are 1 best solutions below

1
On

You should set at least Transparent as the Background for the other Grids.