UIHelperGetFileIcon Method |
Returns HTML markup representing document type icon.
Namespace: CMS.Base.Web.UIAssembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 11.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.Base.Web.UIFontIconSizeEnum
Icon size for font icon. - tooltip (Optional)
- Type: SystemString
Tooltip. - additionalAttributes (Optional)
- Type: SystemString
Additional HTML parameters.
Return Value
Type:
StringSee Also