Detailed Description

An rule.

Inheritance diagram for Css.ImportRule:
Css.Rule

Public Member Functions

 ImportRule (StyleSheet sheet, Css.Value rawValue, MediaQuery query, string href)
 
void AddToDocument (ReflowDocument document)
 The parent rule of this rule. More...
 
void RemoveFromDocument (ReflowDocument document)
 Removes this rule from the lookups in the given document. More...
 

Public Attributes

string href
 Imported href. More...
 
Css.Value RawValue
 The raw CSS value. More...
 
MediaQuery Query
 A media query. More...
 
StyleSheet ImportedSheet
 The imported sheet. More...
 
StyleSheet ParentSheet
 The parent stylesheet. More...
 

Properties

string cssText [get, set]
 The CSS text of this rule. More...
 
StyleSheet parentStyleSheet [get]
 The parent stylesheet. More...
 
StyleSheet styleSheet [get]
 The imported stylesheet. More...
 
int type [get]
 Rule type. More...
 
MediaQuery media [get]
 Media query. More...
 
- Properties inherited from Css.Rule
int type [get]
 The type of rule. More...
 
StyleSheet parentStyleSheet [get]
 The parent style sheet. More...
 
string cssText [get, set]
 The CSS text. More...
 

Private Member Functions

void DownloadNow ()
 

Constructor & Destructor Documentation

Css.ImportRule.ImportRule ( StyleSheet  sheet,
Css.Value  rawValue,
MediaQuery  query,
string  href 
)
inline

Member Function Documentation

void Css.ImportRule.AddToDocument ( ReflowDocument  document)
inline

The parent rule of this rule.

Adds this rule to the lookups in the given document.

Implements Css.Rule.

void Css.ImportRule.DownloadNow ( )
inlineprivate
void Css.ImportRule.RemoveFromDocument ( ReflowDocument  document)
inline

Removes this rule from the lookups in the given document.

Implements Css.Rule.

Member Data Documentation

string Css.ImportRule.href

Imported href.

StyleSheet Css.ImportRule.ImportedSheet

The imported sheet.

StyleSheet Css.ImportRule.ParentSheet

The parent stylesheet.

MediaQuery Css.ImportRule.Query

A media query.

Css.Value Css.ImportRule.RawValue

The raw CSS value.

Property Documentation

string Css.ImportRule.cssText
getset

The CSS text of this rule.

MediaQuery Css.ImportRule.media
get

Media query.

StyleSheet Css.ImportRule.parentStyleSheet
get

The parent stylesheet.

StyleSheet Css.ImportRule.styleSheet
get

The imported stylesheet.

int Css.ImportRule.type
get

Rule type.