I am using contextmenu on my wpf project. I tried customize the items background on focus but I can't find a way to remove the yellow highlights color. Any idea on how I can override this property?
2 Answers, 1 is accepted
0
Accepted
Vicky
Telerik team
answered on 08 Jul 2020, 02:48 PM
Hi gerardo,
To customize the items of the RadContextMenu, you will need to edit their default control template. Regarding the yellow highlights, which I assume come from the default Office Black theme, you need to look for the following two Border elements and modify their background and border colors up to your liking:
The inner yellow background comes from the StaticResource ControlBackground_Highlighted. Please, try out the above approach and let me know about the results.
Best Regards,
Vicky
Progress Telerik
Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic. Our thoughts here at Progress are with those affected by the outbreak.