Regarding the various IconPack extensions… I compiled their code, added the references, but I cannot see any of their contents in my code. I mean I cannot do something like
Is there any way to access the icon lists from code in better way than having to remember the icon name, e.g. intellisense-like:
PictureBox1.ImageSource = “resource.wx/” + Wisej.Ext.FontAwesome.arrowup.ToString(); // for an icon named “arrowup” in the FontAwesome pack
An enumeration would be great! I could go and build up such an enumeration from the folder contents, but if you have it at hand and can expose it somehow, it would be better.
The designer shows the icons and a preview in the file source editor.
In code you have to use the name and since they are all embedded resources there is no automatic enumeration. Also an enumeration or anything that compiles wouldn’t work with names with dashes “arrow-circle-down.svg”. You’d have to create a static class with static variables with the names.
public static class Resources
public const string ArrowCircleDown = “arrow-circle-down.svg”;
ModernUI has 1276 of them – maybe a tool or macro for VS would work.