The base of all CSS rules.
Public Member Functions | |
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... | |
Properties | |
int | type [get] |
The type of rule. More... | |
StyleSheet | parentStyleSheet [get] |
The parent style sheet. More... | |
string | cssText [get, set] |
The CSS text. More... | |
void Css.Rule.AddToDocument | ( | ReflowDocument | document) |
The parent rule of this rule.
Adds this rule to the lookups in the given document.
Implemented in Css.KeyframesRule, Css.AtRules.FontFaceRule, Css.ImportRule, Css.AtRules.NamespaceRule, Css.AtRules.SupportsRule, Css.MediaRule, Css.AtRules.FontFeatureValuesRule, Css.AtRules.PageRule, Css.AtRules.CounterStyleRule, Css.AtRules.CssFontFeatureSubRule, Css.AtRules.ViewportRule, and Css.StyleRule.
void Css.Rule.RemoveFromDocument | ( | ReflowDocument | document) |
Removes this rule from the lookups in the given document.
Implemented in Css.KeyframesRule, Css.AtRules.FontFaceRule, Css.ImportRule, Css.AtRules.NamespaceRule, Css.MediaRule, Css.AtRules.FontFeatureValuesRule, Css.AtRules.SupportsRule, Css.AtRules.CounterStyleRule, Css.StyleRule, Css.AtRules.PageRule, Css.AtRules.CssFontFeatureSubRule, and Css.AtRules.ViewportRule.
|
getset |
The CSS text.
|
get |
The parent style sheet.
|
get |
The type of rule.