An rule.
Public Member Functions | |
MediaRule (StyleSheet sheet, Css.Value rawValue, MediaQuery query, SelectorBlockUnit contents) | |
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... | |
void | Evaluate () |
Public Attributes | |
Css.Value | RawValue |
The raw CSS value. More... | |
List< Rule > | Rules |
The rules which activate when this media rule does. More... | |
MediaQuery | Query |
The underlying media query. More... | |
StyleSheet | ParentSheet |
The parent stylesheet. More... | |
Properties | |
string | cssText [get, set] |
The CSS text of this rule. More... | |
List< Rule > | cssRules [get] |
The rules. More... | |
StyleSheet | parentStyleSheet [get] |
The parent stylesheet. More... | |
int | type [get] |
Rule type. 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 | Activate (ReflowDocument document) |
Called when this rule is now active. More... | |
void | Deactivate (ReflowDocument document) |
Called when this rule is no longer active. More... | |
Private Attributes | |
bool | PreviousStatus |
The previous status of the media rule. More... | |
|
inline |
|
inlineprivate |
Called when this rule is now active.
|
inline |
The parent rule of this rule.
Adds this rule to the lookups in the given document.
Implements Css.Rule.
|
inlineprivate |
Called when this rule is no longer active.
|
inline |
|
inline |
Removes this rule from the lookups in the given document.
Implements Css.Rule.
StyleSheet Css.MediaRule.ParentSheet |
The parent stylesheet.
|
private |
The previous status of the media rule.
MediaQuery Css.MediaRule.Query |
The underlying media query.
Css.Value Css.MediaRule.RawValue |
The raw CSS value.
List<Rule> Css.MediaRule.Rules |
The rules which activate when this media rule does.
|
get |
The rules.
|
getset |
The CSS text of this rule.
|
get |
The parent stylesheet.
|
get |
Rule type.