Skip to content
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.

How to style main menu #171

Open
vieb84 opened this issue Nov 22, 2017 · 1 comment
Open

How to style main menu #171

vieb84 opened this issue Nov 22, 2017 · 1 comment

Comments

@vieb84
Copy link

vieb84 commented Nov 22, 2017

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 vieb84 changed the title Style main menu How to style main menu Nov 22, 2017
@shatulsky
Copy link

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

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants