I would like to add some contextual menu to some controls a in WPF project. This in itself is easy enough. I was wondering if it was possible to have controls like textbox or datepicker in them, much like Access have when click a on cell in a table, where you can filter by a textbox value.
Thanks.
You can put whatever you like inside a
ContextMenu, not onlyMenuItems. I never thought about it but I guess you could use it as aPopupwhen someone right click it. You can also add events etc.Get the clicked
UIElementin the event handler