Table of Contents

Constructor CssStyleDeclaration

Namespace
SharpVectors.Dom.Css
Assembly
SharpVectors.Css.dll

CssStyleDeclaration()

The constructor used internally when collecting styles for a specified element

protected CssStyleDeclaration()

CssStyleDeclaration(ref string, CssRule, bool, CssStyleSheetType)

The constructor for CssStyleDeclaration

public CssStyleDeclaration(ref string css, CssRule parentRule, bool readOnly, CssStyleSheetType origin)

Parameters

css string

The string to parse for CSS

parentRule CssRule

The parent rule or parent stylesheet

readOnly bool

True if this instance is readonly

origin CssStyleSheetType

The type of CssStyleSheet

CssStyleDeclaration(string, CssRule, bool, CssStyleSheetType)

public CssStyleDeclaration(string css, CssRule parentRule, bool readOnly, CssStyleSheetType origin)

Parameters

css string
parentRule CssRule
readOnly bool
origin CssStyleSheetType