PortalHelperGetIconHtml Method |
Gets the web part / widget / page template icon HTML.
Namespace: CMS.PortalControlsAssembly: CMS.PortalControls (in CMS.PortalControls.dll) Version: 8.2.23
Syntax public static string GetIconHtml(
Guid thumbnailGuid,
string iconClass,
int thumbnailMaxSideSize = 64
)
Parameters
- thumbnailGuid
- Type: SystemGuid
The icon thumbnail GUID - iconClass
- Type: SystemString
The icon css class - thumbnailMaxSideSize (Optional)
- Type: SystemInt32
Max side size of the generated thumbnail
Return Value
Type:
StringSee Also