SfMenuItem colors

How does one change the background, hover and selected colors of an SfMenuItem in Xaml?

Also, how does one change the background of an opened menu item?


2 Replies

EM Elakkiya Muthukumarasamy Syncfusion Team July 12, 2021 01:31 PM UTC

Hi Paul, 

Greetings from Syncfusion. 

We are checking your query “How does change the background, hover and selected colors of an SfMenuItem” and we will update you the further details on 14th July 2021.We appreciate your patience until then. 

Regards, 
Elakkiya 



VR Vijayalakshmi Roopkumar Syncfusion Team July 14, 2021 01:44 PM UTC

 
Hi Paul, 
 
Thank you for your patience. 
 
We have checked the reported query  “Need to change the background, hover and selected colors of an SfMenuItem” and found that we can change the background, hover and selected colors of an SfMenuItem by overriding the MenuItem style. But we cannot change the Selection color since the MenuItem displayed as pop up. If we select the MenuItem, the pop up will close. Please refer the sample and Video link for the same. 
 
 
 
Please try this solution and let us know if it is helpful. 
 
Regards, 
Vijayalakshmi VR 


Loader.
Up arrow icon