Click or drag to resize
CssRegistration Class
Provides methods for CSS stylesheet registration.
Inheritance Hierarchy
SystemObject
  CMS.Base.Web.UICssRegistration

Namespace: CMS.Base.Web.UI
Assembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 11.0.0
Syntax
C#
public class CssRegistration

The CssRegistration type exposes the following members.

Constructors
  NameDescription
Public methodCssRegistration
Top
Methods
  NameDescription
Public methodStatic memberRegisterBootstrap
Registers the bootstrap CSS.
Public methodStatic memberRegisterCssBlock
Adds a style block containing specified CSS rules to the page's header. If registering the same block multiple times then a given block is registered only once.
Public methodStatic memberRegisterCssLink(Page, String)
Adds a link to the external CSS stylesheet to the page header. Supports asynchronous requests.
Public methodStatic memberRegisterCssLink(Page, String, String)
Adds a link to the custom theme CSS stylesheet to the page header. Supports asynchronous requests.
Public methodStatic memberRegisterDesignMode
Registers the design mode CSS.
Public methodStatic memberRegisterWidgetsMode
Registers the widgets mode CSS.
Top
See Also