Click or drag to resize
CssLinkHelper Class
Utility methods for CSS url manipulation.
Inheritance Hierarchy
SystemObject
  CMS.HelpersCssLinkHelper

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax
C#
public class CssLinkHelper

The CssLinkHelper type exposes the following members.

Constructors
  NameDescription
Public methodCssLinkHelper
Top
Fields
  NameDescription
Public fieldStatic memberCSS_LINK_PREFIX
CSS Link Prefix
Top
Properties
  NameDescription
Public propertyStatic memberMinifyCurrentRequest
If true, the current request links are minified.
Public propertyStatic memberStylesheetMinificationEnabled
Gets if stylesheet minification is enabled.
Top
Methods
  NameDescription
Public methodStatic memberGetCssFileLink(String)
Returns the HTML link element that links to external stylesheet.
Public methodStatic memberGetCssFileLink(String, String)
Returns the HTML link element that links to external stylesheet.
Public methodStatic memberGetCssUrl
Returns path to the stylesheet handler
Public methodStatic memberGetPhysicalCssUrl(String)
Gets the URL used to retrieve external physical stylesheet.
Public methodStatic memberGetPhysicalCssUrl(String, String)
Gets the URL for the Theme CSS file. Based in ~/App_Themes/[Theme] or ~/App_Themes/Default.
Public methodStatic memberGetStylesheetUrl
Returns virtual path to the stylesheet file.
Public methodStatic memberGetThemeCssUrl(String, String)
Gets the URL for the Theme CSS file. Based in ~/App_Themes/[Theme] or ~/App_Themes/Default.
Public methodStatic memberGetThemeCssUrl(String, String, Boolean)
Gets the URL for the Theme CSS file. Based in ~/App_Themes/[Theme] or ~/App_Themes/Default.
Public methodStatic memberIsCssLinkRegistered Obsolete.
Gets if the CSS link is already registered.
Public methodStatic memberSetCssLinkRegistered Obsolete.
Sets the CSS link as already registered.
Top
See Also