Table of Contents

Class CssStyleRule

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

The CSSStyleRule interface represents a single rule set in a CSS style sheet.

public class CssStyleRule : CssRule, ICssStyleRule, ICssRule
Inheritance
CssStyleRule
Implements
Inherited Members

Properties

CssText

The entire text of the CssStyleRule

SelectorText

The textual representation of the selector for the rule set. The implementation may have stripped out insignificant whitespace while parsing the selector.

Style

The declaration-block of this rule set.

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