MahApps / MahApps.Metro

A framework that allows developers to cobble together a better UI for their own WPF applications with minimal effort.
https://mahapps.com
MIT License
9.31k stars 2.45k forks source link

ContextMenu - TemplateBinding BorderBrush for SubMenu? #3102

Closed BornToBeRoot closed 4 years ago

BornToBeRoot commented 6 years ago

Would be great to inherit the BorderBrush for the subitem...

image

To image

https://github.com/MahApps/MahApps.Metro/blob/cc75ce8e10075abffdfc5c6a62ff79eb24508954/src/MahApps.Metro/MahApps.Metro/Styles/Controls.ContextMenu.xaml#L289

Workaround

Override the x:Key

<SolidColorBrush x:Key="SubMenuBorderBrush" Color="{DynamicResource Gray8}" />

image

Environment

punker76 commented 4 years ago

I’m closing this issue because it has been inactive for a few months. This probably means that it is not reproducible or it has been fixed in a newer version. If it’s an enhancement and hasn’t been taken on for so long, then it seems no one has the time to implement this.

Please reopen if you still encounter this issue with the latest stable version and then please use the issue template.

If you have enough time then it would be nice to test this issue against the latest alpha version (availabe via NuGet and appveyor).

Thank you! 🙏