I have Rectangles that use a Thumb to be able to be dragged around. They can be dragged by clicking and dragging anywhere on the rectangle.
Right now, I want to be able to add a rectangle centered where the user moused down on the parent canvas. When I do, I want the rectangle to receive the mousedown and be able to be dragged around.
However, the rectangle receives nothing until I mouse up and mouse down again.
I tried the previewMouseDown etc, I tried e.Handled = true, etc, but none of them work. The event is always consumed by the parent canvas.
Is there a mechanism even above preview that can be like: Well right now you are set to click on the parent canvas, then I add the rectangle, oh but now you are set to click on the rectangle so ultimately I will give the mousedown to the rectangle.