Why can I not make a ContextMenu appear on a TabItem header template?
WPF
1
Posts
1
Posters
0
Views
1
Watching
-
Hello everyone, My project features a tab control with content and header templates that is bound to a collection, and items show up just fine. However, I cannot make a ContextMenu appear on anything in the header template. Instead, the underlying control's contextmenu appears grayed. I also tried other types of controls in the same template. I am suspecting this has something to do with the Z-order, but my searches keep leading me to information about building custom context menus. Any ideas will be appreciated.