Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
How to change content node icon by API?
var contentType = ApplicationContext.Current.Services.ContentTypeService.GetContentType(1066);
contentType.Icon = "icon-wrench";
You can get the name of the icon by hovering over it.
edit: This appears to be a list of the icon names as well - https://nicbell.github.io/ucreate/icons.html
I'll try. Thanks.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted