Hi:
I can set the foreground and background color for menu header and subitems. The foreground color is retained when I do a mouseover of either a header or a subitem, but the background is not. What is the easiest way to fix that? It seems like there should be a MouseOverBackground and MouseOverForeground property. Here is my xaml:
<Grid.Resources> |
<Style x:Key="MenuItemStyle" TargetType="telerikNavigation:RadMenuItem"> |
<Setter Property="Foreground" Value="Red"/> |
<Setter Property="Background" Value="#FF1D52D1"/> |
</Style> |
</Grid.Resources> |
<Border x:Name="ContentBorder" Style="{StaticResource ContentBorderStyle}"> |
<StackPanel Orientation="Vertical"> |
<telerikNavigation:RadMenu ItemContainerStyle="{StaticResource MenuItemStyle}" > |
<telerikNavigation:RadMenuItem Header="Employees"/> |
<telerikNavigation:RadMenuItem Header="Customers"/> |
<telerikNavigation:RadMenuItem Header="Projects"/> |
<telerikNavigation:RadMenuItem Header="Time Charges"/> |
<telerikNavigation:RadMenuItem Header="Billings" ItemContainerStyle="{StaticResource MenuItemStyle}" > |
<telerikNavigation:RadMenuItem Header="Invoices" /> |
<telerikNavigation:RadMenuItem Header="Cash Receipts" /> |
</telerikNavigation:RadMenuItem> |
<telerikNavigation:RadMenuItem Header="Reports" ItemContainerStyle="{StaticResource MenuItemStyle}"> |
<telerikNavigation:RadMenuItem Header="Email Invoices" /> |
<telerikNavigation:RadMenuItem Header="Email Cash Receipts" /> |
<telerikNavigation:RadMenuItem Header="Accounts Receivable" /> |
</telerikNavigation:RadMenuItem> |
</telerikNavigation:RadMenu> |