Hi ,
I have used Xammenu in our application. I want to add mouse hover affect to the header by changing the Foreground color from White to black. I am not finding any option do that.
Could you please provide me a solution to achieve this.
My code Snippet:-
<ig:XamMenu Name="dtMenu" ExpandOnHover="True" MenuOrientation="Horizontal" ItemTemplate="{StaticResource MenuDataTemplate}" Foreground="White" MouseEnter="dtMenu_MouseEnter"> <ig:XamMenu.HierarchicalItemTemplate> <ig:HierarchicalDataTemplate ItemsSource="{Binding Path=Reports}" ItemTemplate="{StaticResource MenuItemDataTemplate}"> <ig:HierarchicalDataTemplate.DefaultItemsContainer> <DataTemplate> <ig:XamMenuItem Click="XamMenuItem_Click" Foreground="Blue"> <ig:XamMenuItem.Icon> <Image Source="/CS.MixVisualization;component/Images/Chart.png" /> </ig:XamMenuItem.Icon> </ig:XamMenuItem> </DataTemplate> </ig:HierarchicalDataTemplate.DefaultItemsContainer> <ig:HierarchicalDataTemplate.HierarchicalItemTemplate> <ig:HierarchicalDataTemplate ItemsSource="{Binding Path=Reports}" ItemTemplate="{StaticResource MenuItemDataTemplate}"/> </ig:HierarchicalDataTemplate.HierarchicalItemTemplate> </ig:HierarchicalDataTemplate> </ig:XamMenu.HierarchicalItemTemplate> <ig:XamMenu.Background> <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"> <GradientStop Color="#FF6C8BA3" Offset="1" /> <GradientStop Color="#094981" Offset="0.25" /> </LinearGradientBrush> </ig:XamMenu.Background> </ig:XamMenu>
Hello,
I am just checking if you require any further assistance on the matter.
Sincerely,
Krasimir
Developer Support Engineer
Infragistics
www.infragistics.com/support
Hello Anil,
Thank you for the provided information. I have managed to reproduce the behavior that you are getting under to described from you conditions. After researching your issue, it turns out that it is fixed in the latest Service Release for version 10.3. You can download the service release by logging into our web site and then go to My IG\My Keys and Downloads.
Please let me know if you can still reproduce that behavior after installing the service release.
OS :- Windows XP Service pack 3
Browser : IE 6.0.2900
Silverlight 4 Version: 4.0.50524.0
Silverlight Infragistics Asselmbly version :- 10.3.20103.1006
Please let me know if you can reproduce.
Thanks
Anil Kumar
I have tested the sample application that I have attached previously ( XamMenuHoverEffect_2.zip ) with Internet Explorer 6.0 with the same result. I have created a video of the behavior that I am getting when I run the application.
Would you please provide me with more detailed information regarding your environment, so I will be able to reproduce the issues that you are describing?
Looking forward to hearing from you.