I'm working with xaml and I have a problem, the MouseDown event is not running when I double click on an image, that's how I have the code:
<Grid x:Name="gridContainer" HorizontalAlignment="Center">
<Image x:Name="bgImageDge" Source="/Resources/LineaDge.png" Visibility="Collapsed" Margin="20" Stretch="Uniform" Mouse.MouseDown="bgImageDge_MouseDown"></Image>
<Image x:Name="bgImageMachineControl" Source="/Resources/LineaCM.png" Visibility="Collapsed" Margin="20" Stretch="Uniform" Mouse.MouseDown="bImageMachineControl_MouseDown"></Image>
<Image x:Name="bgImageSectionControl" Source="/Resources/LineaCS.png" Visibility="Collapsed" Margin="20" Stretch="Uniform" Mouse.MouseDown="bgImageSectionControl_MouseDown"></Image>
<Image x:Name="bgImageContainerHanding" Source="/Resources/LineaME.png" Visibility="Collapsed" Margin="20" Stretch="Uniform" Mouse.MouseDown="bgImageContainerHanding_MouseDown"></Image>
</Grid>
What I want is that by double clicking on the image open another userControl. I have several images and if I activate the events in codebehind they all execute when clicking on an image.