UIHelperGetDocumentTypeIconPath Method |
Returns path to the icon image for the specified document type.
Namespace: CMS.Base.Web.UIAssembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 12.0.0
Syntax public static string GetDocumentTypeIconPath(
Page page,
string className,
string iconSet = null,
bool checkFile = true,
bool ensureDefaultTheme = true
)
Parameters
- page
- Type: System.Web.UIPage
Page - className
- Type: SystemString
Name of the class - iconSet (Optional)
- Type: SystemString
Name of the subfolder where icon images are located - checkFile (Optional)
- Type: SystemBoolean
Indicates if the required icon exists in the file system - ensureDefaultTheme (Optional)
- Type: SystemBoolean
Indicates if default theme should be always used
Return Value
Type:
StringSee Also