I have a project here where I need to configure the context menu in my WPF application, in which the button will be placed at the bottom of all menu items.
However, if I added the button via XAML, it would appear as another element in the collection in the context menu, and the mouse-over highlight would act on it.
I would like the context menu to adjust to a mesh style, thanks to which I could customize the style under it.
Any idea how I can achieve this (preferably in XAML)?
source
share