Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
90
How can i change the XamMenu and XamMenuItem selected and hover-over style?
posted

Hi, how can i change the XamMenu and XamMenuItem selected and hover-over style?

I can change the background and foreground with the xaml below but I can't see how to change the selected and hover-over style.

<Style x:Key="MenuStyle" TargetType="{x:Type ig:XamMenu}">
<Setter Property="Background" Value="{StaticResource ControlBackground}"/>
<Setter Property="Foreground" Value="{StaticResource ControlForeground_Normal}"/>
</Style>

<Style x:Key="MenuItemStyle" TargetType="{x:Type ig:XamMenuItem}">
<Setter Property="Background" Value="{StaticResource ControlBackground}"/>
<Setter Property="Foreground" Value="{StaticResource ControlForeground_Normal}"/>
</Style>

<ig:XamMenu Grid.Row="0" x:Name="MainMenu" VerticalAlignment="Top" Style="{StaticResource MenuStyle}">
<ig:XamMenuItem Header="Settings">
<ig:XamMenuItem Header="Save Settings" Style="{StaticResource MenuItemStyle}"/>
<ig:XamMenuItem Header="Load Settings" Style="{StaticResource MenuItemStyle}"/>
</ig:XamMenuItem>
</ig:XamMenu>

Parents
No Data
Reply
  • 138253
    Offline posted

    Hello,

     

    I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.

Children
No Data