On MouseLeftButtonDown
of an Im开发者_JAVA百科age
, I want to display a ContextMenu
that has a TextBox
where the user enters a path and a Button
beside it to confirm. Anyone have an idea of how I can go about doing this?
Put your TextBox and button in a Popup, and then set Popup.IsOpen = true when you get the MouseLeftButton down on the image.
If you've got some code that you've tried, post it in your question and I will try to help.
精彩评论