Click or drag to resize
PortalHelperGetIconHtml Method
Gets the web part / widget / page template icon HTML.

Namespace: CMS.PortalControls
Assembly: CMS.PortalControls (in CMS.PortalControls.dll) Version: 8.2.23
Syntax
C#
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: String
See Also