This question is locked. New answers and comments are not allowed.
Hi,
I am trying to change the colors of the RadialMenu for a Windows 8.1 xaml project. Unfortunately, it is not working.
What I did:
1. added ResourceDictionary "TelerikNamedBrushes.xaml"
2. defined following brushes inside that ResourceDictionary:
<SolidColorBrush x:Key="TelerikRadialMenuButtonBorderBrush" Color="#FF516987" />
<SolidColorBrush x:Key="TelerikRadialMenuButtonForegroundBrush" Color="#FF516987" />
<SolidColorBrush x:Key="TelerikRadialMenuContentMenuBorderBrush" Color="#FF516987" />
<SolidColorBrush x:Key="TelerikRadialMenuIconForegroundBrush" Color="#FF516987" />
<SolidColorBrush x:Key="TelerikRadialMenuNavigationButtonBackgroundBrush" Color="#FF516987" />
<SolidColorBrush x:Key="TelerikRadialMenuNavigationMenuBorderBrush" Color="#FF516987" />
3. Referenced the ResourceDictionary inside App.xaml:
<controls:UserThemeResources x:Key="MyResources" DarkResourcesPath="ms-appx:///Assets/Styles/TelerikNamedBrushes.xaml" />
4. Set the theme of the control to dark:
<primitives:RadRadialMenu x:Name="MainRadialMenu" RequestedTheme="Dark">
In the debugger I can see that this control has Dark as value for the RequestedTheme, but it won't use my defined brushes from the ResourceDictionary.
What am I missing?
Cheers,
Enrico
I am trying to change the colors of the RadialMenu for a Windows 8.1 xaml project. Unfortunately, it is not working.
What I did:
1. added ResourceDictionary "TelerikNamedBrushes.xaml"
2. defined following brushes inside that ResourceDictionary:
<SolidColorBrush x:Key="TelerikRadialMenuButtonBorderBrush" Color="#FF516987" />
<SolidColorBrush x:Key="TelerikRadialMenuButtonForegroundBrush" Color="#FF516987" />
<SolidColorBrush x:Key="TelerikRadialMenuContentMenuBorderBrush" Color="#FF516987" />
<SolidColorBrush x:Key="TelerikRadialMenuIconForegroundBrush" Color="#FF516987" />
<SolidColorBrush x:Key="TelerikRadialMenuNavigationButtonBackgroundBrush" Color="#FF516987" />
<SolidColorBrush x:Key="TelerikRadialMenuNavigationMenuBorderBrush" Color="#FF516987" />
3. Referenced the ResourceDictionary inside App.xaml:
<controls:UserThemeResources x:Key="MyResources" DarkResourcesPath="ms-appx:///Assets/Styles/TelerikNamedBrushes.xaml" />
4. Set the theme of the control to dark:
<primitives:RadRadialMenu x:Name="MainRadialMenu" RequestedTheme="Dark">
In the debugger I can see that this control has Dark as value for the RequestedTheme, but it won't use my defined brushes from the ResourceDictionary.
What am I missing?
Cheers,
Enrico