title: WPF Popup control on ImageMouseLeftButtonDown disappears immediately
body: <p>I have a popup defined as follows,</p>
  
  <pre><code>&lt;Popup x:Name="popLines"
           Placement="Bottom"
             IsOpen="False"
             Width="145" Height="42"
             StaysOpen="False"
             PopupAnimation="Fade"
             AllowsTransparency="True"
             HorizontalOffset="-2" VerticalOffset="0"&gt;
                      &lt;Grid Margin="2"&gt;
                          &lt;Path StrokeThickness="0.7" StrokeLineJoin="Round" Fill="#FFFFFFFF" Stretch="Fill" Stroke="Black"  Data="M6.5,0.5 L30.167,0.5 30.167,8.4999992 190.16701,8.4999992 190.16701,44.166001 0.5,44.166001 0.5,8.4999992 6.5,8.4999992 6.5,0.5 z"&gt;
                          &lt;/Path&gt;
                          &lt;Grid&gt;
                          &lt;StackPanel Orientation="Horizontal"&gt;
                              &lt;TextBox BorderBrush="Black" BorderThickness="0.5" Margin="5,10,2,2" Width="110" Height="20" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" ToolTip="Excel File Path"&gt;&lt;/TextBox&gt;
                              &lt;Image Source="/App_Desktop;component/Resources/save.png" Margin="2,10,5,2" Width="16" Height="16"&gt;&lt;/Image&gt;
                          &lt;/StackPanel&gt;
                          &lt;/Grid&gt;
                      &lt;/Grid&gt;
                  &lt;/Popup&gt;
  </code></pre>
  
  <p>I set <code>IsOpen=true</code> when an image <code>MouseLeftButtonDown</code> event fires.Except, the popup disappears as soon as it appears. What is going wrong?</p>