list box items context menu WPF
Posted
by Eran
on Stack Overflow
See other posts from Stack Overflow
or by Eran
Published on 2010-04-30T09:13:55Z
Indexed on
2010/04/30
9:17 UTC
Read the original article
Hit count: 444
wpf-controls
hey guys,
I have list box that contains UserControl as item template
the user control contains few text blocks in a grid, the thing is that I want to add context menu to my user control that will show on the list item right click but currently only right clicking the textbox inside the user control triggers the context menu appearance
clicking the spaces between those textboxes triggers nothing,
any idea about how can I trigger the context menu from the container list box?
Thanks
Eran
© Stack Overflow or respective owner