This question is locked. New answers and comments are not allowed.
I have a RadMenu two levels deep. I need to change the gray background color of the second level so the white text will be more visible against it (see attached screenshot). I have attempted to do this with the ItemContainerStyle, but something isn't working.
And here is the MenuItemStyle (I'm setting additional fields just to see if I can get something to change):
This is having no visible effect. Any ideas?
<telerik:RadMenu HorizontalAlignment="Stretch" Name="radMenu1" ItemContainerStyle="{StaticResource MenuItemStyle}" ItemsSource="{Binding TreeNode}" ItemClick="radMenu1_ItemClick" IconColumnWidth="0" Height="30" Foreground="White" Background="Transparent" FontSize="12" FontWeight="Bold" telerik:StyleManager.Theme="Vista"> <telerik:RadMenu.ItemTemplate> <telerik:HierarchicalDataTemplate ItemsSource="{Binding Children}"> <TextBlock Text="{Binding Value.Title}" /> </telerik:HierarchicalDataTemplate> </telerik:RadMenu.ItemTemplate></telerik:RadMenu>And here is the MenuItemStyle (I'm setting additional fields just to see if I can get something to change):
<Style x:Key="MenuItemStyle" TargetType="telerik:RadMenuItem"> <Setter Property="Background" Value="red"/> <Setter Property="Foreground" Value="red"/> <Setter Property="FontSize" Value="20"/> <Setter Property="Height" Value="60" /></Style>