Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
25
Identify which image is clicked on the carousel panel
posted

I am trying to identify whch image is clicked on the Carousel panel.

private void OnItemMouseDown(object sender, MouseButtonEventArgs e)
 {
      //  MessageBox.Show("You clicked me!");
      string imageName = "image name goes here";
       MessageBox.Show(imageName);
 }

I do have the click event wired up and I can tell when an image is clicked but how do I identify which one was clicked in code?

 

Parents
No Data
Reply Children
No Data