Css.AtRules.NamespaceRule Class Reference

Detailed Description

Represents the namespace rule.

Inheritance diagram for Css.AtRules.NamespaceRule:
Css.CssAtRule Css.Rule

Public Member Functions

override string[] GetNames ()
 The set of all names that this at rule can use. Usually just one. E.g. font-face etc. More...
 
override CssAtRule Copy ()
 Copies this at rule. More...
 
override Rule LoadRule (Css.Rule parent, StyleSheet style, Css.Value value)
 Called on this instance object to load it's values from the given value object. More...
 
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 Member Functions inherited from Css.CssAtRule
virtual void SetupParsing (CssLexer lexer)
 This e.g. sets AtRuleMode. It's true if this @ rule uses nested selectors. Media and keyframes are two examples. More...
 

Public Attributes

Css.Value RawValue
 The raw value. More...
 
string prefix
 The prefix, if any, to use. More...
 
CssNamespace Namespace
 The namespace path/name. More...
 
StyleSheet ParentSheet
 The parent stylesheet. More...
 

Properties

string namespaceURI [get]
 
string cssText [get, set]
 The CSS text of this rule. More...
 
StyleSheet parentStyleSheet [get]
 The parent stylesheet. More...
 
int type [get]
 Rule type. More...
 
- Properties inherited from Css.CssAtRule
string Name [get]
 The main name of this function. Originates from the first result returned by GetNames. 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...
 

Member Function Documentation

void Css.AtRules.NamespaceRule.AddToDocument ( ReflowDocument  document)
inline

The parent rule of this rule.

Adds this rule to the lookups in the given document.

Implements Css.Rule.

override CssAtRule Css.AtRules.NamespaceRule.Copy ( )
inlinevirtual

Copies this at rule.

Reimplemented from Css.CssAtRule.

override string [] Css.AtRules.NamespaceRule.GetNames ( )
inlinevirtual

The set of all names that this at rule can use. Usually just one. E.g. font-face etc.

Reimplemented from Css.CssAtRule.

override Rule Css.AtRules.NamespaceRule.LoadRule ( Css.Rule  parent,
StyleSheet  style,
Css.Value  value 
)
inlinevirtual

Called on this instance object to load it's values from the given value object.

Reimplemented from Css.CssAtRule.

void Css.AtRules.NamespaceRule.RemoveFromDocument ( ReflowDocument  document)
inline

Removes this rule from the lookups in the given document.

Implements Css.Rule.

Member Data Documentation

CssNamespace Css.AtRules.NamespaceRule.Namespace

The namespace path/name.

StyleSheet Css.AtRules.NamespaceRule.ParentSheet

The parent stylesheet.

string Css.AtRules.NamespaceRule.prefix

The prefix, if any, to use.

Css.Value Css.AtRules.NamespaceRule.RawValue

The raw value.

Property Documentation

string Css.AtRules.NamespaceRule.cssText
getset

The CSS text of this rule.

string Css.AtRules.NamespaceRule.namespaceURI
get
StyleSheet Css.AtRules.NamespaceRule.parentStyleSheet
get

The parent stylesheet.

int Css.AtRules.NamespaceRule.type
get

Rule type.