mui icon indicating copy to clipboard operation
mui copied to clipboard

How to style main menu

Open vieb84 opened this issue 8 years ago • 1 comments

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.

vieb84 avatar Nov 22 '17 14:11 vieb84

Any updates on this issue? Fount not info about this case. Is it possible?

shatulsky avatar Nov 12 '18 10:11 shatulsky