Constructor CssStyleSheet
- Namespace
- SharpVectors.Dom.Css
- Assembly
- SharpVectors.Css.dll
CssStyleSheet(XmlNode, string, string, string, CssRule, CssStyleSheetType)
Constructor for CssStyleSheet
public CssStyleSheet(XmlNode ownerNode, string href, string title, string media, CssRule ownerRule, CssStyleSheetType origin)
Parameters
ownerNode
XmlNodeThe node that owns this stylesheet. E.g. used for getting the BaseUri
href
stringThe URL of the stylesheet
title
stringThe title of the stylesheet
media
stringList of medias for the stylesheet
ownerRule
CssRuleThe rule (e.g. ImportRule) that referenced this stylesheet
origin
CssStyleSheetTypeThe type of stylesheet