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
stringThe string to parse for CSS
parentRule
CssRuleThe parent rule or parent stylesheet
readOnly
boolTrue if this instance is readonly
origin
CssStyleSheetTypeThe type of CssStyleSheet
CssStyleDeclaration(string, CssRule, bool, CssStyleSheetType)
public CssStyleDeclaration(string css, CssRule parentRule, bool readOnly, CssStyleSheetType origin)
Parameters
css
stringparentRule
CssRulereadOnly
boolorigin
CssStyleSheetType