mui
mui copied to clipboard
How to style main menu
I don't find a way to style the main menu:
<!-- main menu -->
<controls:ModernMenu Grid.Column="1"
SelectedSource="{Binding Source, ElementName=ContentFrame, Mode=TwoWay}"
LinkGroups="{TemplateBinding MenuLinkGroups}" />
I know, that the main menu contains the links in MainWindow.xaml, but how do I change the styling of this links? I want to change foreground, background and padding of active and inactive links.
<mui:ModernWindow.MenuLinkGroups>
<mui:LinkGroup>
<mui:LinkGroup.Links>
<mui:Link DisplayName="Home" Source="/Pages/Home.xaml" />
...
</mui:LinkGroup.Links>
</mui:LinkGroup>
</mui:ModernWindow.MenuLinkGroups>
In this case, I would like to style the "Home" link.
Any updates on this issue? Fount not info about this case. Is it possible?