I want to remove menu's popup border. Not the menu items's border as explained in this post.
This is a pic of my menu popup and I want to remove the white border the popup has.
I am using mahapps library for my main windows with basedark theme. Also please be patient with me, as I am new to WPF and XAML.
Here are all the things I have tried-
- Overwrote the border thickness and border brush of all the "menu items" with my custom style. This did not help as the border which I am interested is not tied to menuItems.
- Overwrote the border thickness and border brush property of the "menu" element. This just changes the menu element when the mouse is not over it. Hope that made sense.
I need the element/control trigger/content-presenter the menu element possesses to disappear the menu popup border. Hope someone can help me in this regard.