Table of Contents

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 XmlNode

The node that owns this stylesheet. E.g. used for getting the BaseUri

href string

The URL of the stylesheet

title string

The title of the stylesheet

media string

List of medias for the stylesheet

ownerRule CssRule

The rule (e.g. ImportRule) that referenced this stylesheet

origin CssStyleSheetType

The type of stylesheet