I have a control that is located onto a window in my example. that control contains something that is shown, but the user may not be able to click onto the area (here red colored) to select it. Only by clicking on the black part should select the control.
I disabled the red part, but still the mousedown is fired in the control. I would expect that the mousedown would be raised in the background of the window and not in the control.
Event when the Red part is made transparent, the event is fired inside the control (BUG???)
Is there a way to prevent that when the red part is clicked, the control raises the mousedown.
I simplified the example.
Title="MainWindow" Height="350" Width="525" MouseDown="Background_MouseDown">
<Grid HorizontalAlignment="Left" VerticalAlignment="Top" >
<Canvas MouseDown="Control_mouseDown" Width="100" Height="100" HorizontalAlignment="Left" VerticalAlignment="Top" Background="Black" >
View Complete Post