UIHelperGetDocumentTypeIcon Method |
Returns HTML markup representing document type icon.
Namespace: CMS.Base.Web.UIAssembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 10.0.0
Syntaxpublic static string GetDocumentTypeIcon(
Page page,
string className,
string iconClass = "",
FontIconSizeEnum iconSize = FontIconSizeEnum.NotDefined,
string iconSet = "",
string tooltip = "",
string additionalAttributes = ""
)
Parameters
- page
- Type: System.Web.UIPage
Page. - className
- Type: SystemString
Class name. - iconClass (Optional)
- Type: SystemString
CSS class for font icon. - iconSize (Optional)
- Type: CMS.Base.Web.UIFontIconSizeEnum
Icon size for font icon. - iconSet (Optional)
- Type: SystemString
Icon set for image icon. - tooltip (Optional)
- Type: SystemString
Tooltip. - additionalAttributes (Optional)
- Type: SystemString
Additional HTML parameters.
Return Value
Type:
String
See Also