How to change hover colour of items and font color

Hi Community, 


I was wondering if you can change the hover colour when you are hovering over the items in a sfCombobox and then also change the font colour ? so in the screenshot i want to change the grey hover colour to blue and then change the font colour to white. is this possible ? Thanks in advance!




3 Replies 1 reply marked as answer

VR Vijayalakshmi Roopkumar Syncfusion Team June 23, 2021 10:00 AM UTC

Hi Mohammed  
 
Thank you for contacting Syncfusion Support. 
 
To change the hoverColor of Selecteditem and fore color of DropDownItems, you can use the below property as shown below: 
 
 
//To change tbe backcolor and forecolor of SelectedItem in SfComboBox 
sfComboBox1.DropDownListView.Style.SelectionStyle.HoverBackColor = Color.Blue; 
sfComboBox1.DropDownListView.Style.SelectionStyle.HoverForeColor = Color.White; 
 
 
 
 
 
 
For more information about customizing the sfcombobox, refer the following UG documentation 
 
 
 
Kindly try this solution and let us know if it is helpful 
 
Regards. 
Vijayalakshmi VR 
 
 


Marked as answer

MS Mohammed Shafeel June 23, 2021 10:55 PM UTC

Thanks !!!!! 



VR Vijayalakshmi Roopkumar Syncfusion Team June 24, 2021 05:17 AM UTC

Hi Mohammed 
 
Thank you for your update. 
 
Please get back us, if you need any other assistance on this. 
 
Regards, 
Vijayalakshmi VR 


Loader.
Up arrow icon