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
cssstringThe string to parse for CSS
parentRuleCssRuleThe parent rule or parent stylesheet
readOnlyboolTrue if this instance is readonly
originCssStyleSheetTypeThe type of CssStyleSheet
CssStyleDeclaration(string, CssRule, bool, CssStyleSheetType)
public CssStyleDeclaration(string css, CssRule parentRule, bool readOnly, CssStyleSheetType origin)
Parameters
cssstringparentRuleCssRulereadOnlybooloriginCssStyleSheetType