How do I change the close icon's colour.

Hi,

Currently the icon colour is black in the pop up but I would like for it to be white. 


How do I achieve this?

Thanks
Taahir.

3 Replies

SS Sivaraman Sivagurunathan Syncfusion Team February 27, 2020 08:41 AM UTC

Hi Taahir, 

Thank you for using Syncfusion controls. 

We cannot change the CloseButtonIcon color, because we have loaded the CloseButtonIcon as image in our source. But we can load the custom icon using CloseButtonIcon property in PopupStyle


popupLayout.PopupView.PopupStyle.CloseButtonIcon = ImageSource.FromFile("CloseIcon.jpg"); 


 



Please let us know if you need any further details on this.  


Regards, 
Sivaraman S 



MA Mark March 9, 2020 11:37 AM UTC

Thank you, you helped me solve this. In the end this is what I did...


Thanks

Mark.


MK Muthu Kumaran Gnanavinayagam Syncfusion Team March 9, 2020 01:38 PM UTC

Hi Mark, 
 
Thanks for the update. 
 
We are glad to know that the reported query has been resolved at your end. Please let us know if you have any further queries on this. We are happy to help you. 
 
Regards, 
G.Muthu kumaran. 


Loader.
Up arrow icon