UIHelperGetFileIcon Method |
Returns HTML markup representing document type icon.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax 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:
StringSee Also