Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>This is your XAML &amp; you added [ MouseDown="Generic_MouseDown" ] <strong>Twice</strong> to Grid &amp; Image</p> <pre><code>&lt;Window x:Class="WpfApplication.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="MainWindow" Height="350" Width="525"&gt; &lt;Grid Background="Transparent" x:Name="MainContent" MouseDown="Generic_MouseDown"&gt; &lt;Image Source="http://www.blogcdn.com/www.engadget.com/media/2011/05/welcome-kansas-city-google-high-speed-internet.jpg" Height="100" Width="100" MouseDown="Generic_MouseDown"/&gt; &lt;/Grid&gt; &lt;/Window&gt; </code></pre> <p>Make It Like that <strong>ONE</strong> [ MouseDown="Generic_MouseDown" ] in <strong>Grid</strong></p> <pre><code>&lt;Window x:Class="WpfApplication.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="MainWindow" Height="350" Width="525"&gt; &lt;Grid Background="Transparent" x:Name="MainContent" MouseDown="Generic_MouseDown"&gt; &lt;Image Source="http://www.blogcdn.com/www.engadget.com/media/2011/05/welcome-kansas-city-google-high-speed-internet.jpg" Height="100" Width="100" /&gt; &lt;/Grid&gt; &lt;/Window&gt; </code></pre> <p><strong>OR</strong></p> <p>Make It Like that <strong>ONE</strong> [ MouseDown="Generic_MouseDown" ] in <strong>Image</strong></p> <pre><code>&lt;Window x:Class="WpfApplication.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="MainWindow" Height="350" Width="525"&gt; &lt;Grid Background="Transparent" x:Name="MainContent"&gt; &lt;Image Source="http://www.blogcdn.com/www.engadget.com/media/2011/05/welcome-kansas-city-google-high-speed-internet.jpg" Height="100" Width="100" MouseDown="Generic_MouseDown"/&gt; &lt;/Grid&gt; &lt;/Window&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload