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

Namespace: CMS.Base.Web.UI
Assembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 12.0.0
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.Base.Web.UIFontIconSizeEnum
Icon size for font icon.
tooltip (Optional)
Type: SystemString
Tooltip.
additionalAttributes (Optional)
Type: SystemString
Additional HTML parameters.

Return Value

Type: String
See Also