I have the following code snippet:
Everything works for right clicks. However left clicks issue some strange behavior: left clicking in the area of the button (regardless of whether I`m clicking within or outside rectangle) results in no events being fired at all. Clicking outside the button (eg. in the "label") results in event "StackPanel_MouseDown" being fired (so it`s correct).
<StackPanel TextBlock.FontWeight="Bold" MouseDown="StackPanel_MouseDown">
<Rectangle Fill="Honeydew" Height="50" Width="200"></Rectangle>
Why does button "swallow" this event?