We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

How can I use svg file as an image for a file explorer by C#?

I am using your demo file explorer for a small project and wanted to modify it to open a specific folder as the directory where the program is running.


The icons I have are in svg and are for closed folder and open folder when collapsed and one icon for file.


Does SF have something for using svg as icon via c# or do I have to convert to png file?



1 Reply

VS Vijayarasan Sivanandham Syncfusion Team August 23, 2021 04:03 PM UTC

Hi Wanderson,

Thank you for contacting Syncfusion Support.

 
The reported problem is related to visual studio. For more details please refer the below Stack Overflow ,

https://stackoverflow.com/questions/35431860/is-it-possible-to-create-svg-files-in-wpf

 

Regards, 
Vijayarasan S 


Loader.
Up arrow icon