Click or drag to resize
UIHelperGetFileIcon Method
Returns HTML markup representing document type icon.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax
C#
public static string GetFileIcon(
	Page page,
	string extension,
	FontIconSizeEnum iconSize = FontIconSizeEnum.NotDefined,
	string tooltip = "",
	string additionalAttributes = ""
)

Parameters

page
Type: System.Web.UIPage
Page.
extension
Type: SystemString
Class name.
iconSize (Optional)
Type: CMS.HelpersFontIconSizeEnum
Icon size for font icon.
tooltip (Optional)
Type: SystemString
Tooltip.
additionalAttributes (Optional)
Type: SystemString
Additional HTML parameters.

Return Value

Type: String
See Also