Replies: 5 comments 5 replies
-
Might be related to #7571. |
Beta Was this translation helpful? Give feedback.
-
I don't think so unfortunately. :( |
Beta Was this translation helpful? Give feedback.
-
Hi @Pyrdacor I may have a solution for you. The issue is, that the Background has a local value set which cannot be overriden by any Style. This may change in the future, but for now this is not possible without recreating the This is the line which is bugging you: The good news is, that it is a <!-- Can be any Resources section -->
<Window.Resources>
<SolidColorBrush x:Key="MenuFlyoutPresenterBackground">Red</SolidColorBrush>
</Window.Resources> Happy coding /cc @pagner |
Beta Was this translation helpful? Give feedback.
-
Thanks. Will have a look when I am on to that project again. ;) |
Beta Was this translation helpful? Give feedback.
-
@Pyrdacor I was able to override the style template and fix my issue. Thanks again @timunie for your help |
Beta Was this translation helpful? Give feedback.
-
I managed to customize my menu like this:
But as you can see there is still this white border around the popup and the separator has white background as well. How can I color those areas?
This is my styling:
The last 4 styles were my attempt to change the areas. But none of them worked.
The menu looks like this:
FYI:
views:Label
is just a TextBlock with a shadow (transformed second TextBlock). AndMenuTextConverter
just removes the underscores for display.Beta Was this translation helpful? Give feedback.
All reactions