Creating a clickable image in WPF

前端 未结 5 1783
醉话见心
醉话见心 2020-12-24 09:05

I want to make a user control that shows an image and can invoke a command when clicked. Later I want to bind a list of these controls to a list of products.

5条回答
  •  离开以前
    2020-12-24 09:47

       
    
        private void imageFoo_MouseUp(object sender, MouseButtonEventArgs e)
        {
            //Do something
        }
    

提交回复
热议问题