title: how can prevent popup close when mouse clicked outsie of popop
body: <p>In WPF When we clicked on Toggle button then popup open properly but when we clicked on outside of popup then popup is auto closed. how to prevent this. </p>
  
  <p>when we clicked on outside of popup then the popup should not be closed.</p>
  
  <p>Code:</p>
  
  <pre><code>&lt;ToggleButton Name="TglBtn" Content="Document" /&gt; 
  &lt;Popup IsOpen="{Binding IsChecked, ElementName=TglBtn}" StaysOpen="False"   PlacementTarget="{Binding ElementName=popupDocshow}" x:Name="pop1"&gt; 
    &lt;TextBlock Text="Documents" Background="Blue"/&gt; 
  &lt;/Popup&gt;
  </code></pre>