Click or drag to resize
CssHelper Class
Utility methods for CSS manipulation.
Inheritance Hierarchy
SystemObject
  CMS.HelpersCssHelper

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

The CssHelper type exposes the following members.

Constructors
  NameDescription
Public methodCssHelper
Top
Methods
  NameDescription
Public methodStatic memberEnsureClass
Ensures the given class in the CSS class
Public methodStatic memberGetCssClassAttribute
Returns class attribute or empty string if no class is defined.
Public methodStatic memberGetStyle
Encloses a style declaration block in an HTML style element.
Public methodStatic memberJoinClasses
Joins the given list of CSS classes. Omits empty and null strings.
Top
See Also