Table of Contents

Class CssImportRule

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

The CSSImportRule interface represents a @import rule within a CSS style sheet. The @import rule is used to import style rules from other style sheets.

public sealed class CssImportRule : CssRule, ICssImportRule, ICssRule
Inheritance
CssImportRule
Implements
Inherited Members

Properties

Href

The location of the style sheet to be imported. The attribute will not contain the "url(...)" specifier around the URI

Media

A list of media types for which this style sheet may be used.

StyleSheet

The style sheet referred to by this rule, if it has been loaded. The value of this attribute is null if the style sheet has not yet been loaded or if it will not be loaded (e.g. if the style sheet is for a media type not supported by the user agent).

Type

The type of the rule. The expectation is that binding-specific casting methods can be used to cast down from an instance of the CSSRule interface to the specific derived interface implied by the type.

Methods

GetStylesForElement(XmlElement, string, MediaList, CssCollectedStyleDeclaration)

Used to find matching style rules in the cascading order