Represents an instance of a media query. They resolve to either true or false.
Public Member Functions | |
MediaQuery () | |
virtual bool | IsTrue (ReflowDocument screen) |
Evaluates this media query now. More... | |
override string | ToString () |
Static Public Member Functions | |
static MediaQuery | Load (Value value, int start, int endInclusive) |
Loads this media query from the given CSS value between the given set indices. More... | |
Static Private Member Functions | |
static MediaQuery | LoadSection (Value value, ref int i, int endInclusive) |
Loads the given segment of the given value. More... | |
static MediaQuery | LoadFeatureExpression (ValueSet set) |
Loads a feature ref from the given brackets. It's e.g. (color) or (min-width:xpx) etc. More... | |
|
inline |
|
inlinevirtual |
Evaluates this media query now.
Reimplemented in Css.MediaQueryEqualsFeature, Css.MediaQueryMaxFeature, Css.MediaQueryMinFeature, Css.MediaQueryHasFeature, Css.MediaQueryCurrentMedia, Css.MediaQueryNot, Css.MediaQueryAnd, and Css.MediaQueryList.
|
inlinestatic |
Loads this media query from the given CSS value between the given set indices.
|
inlinestaticprivate |
Loads a feature ref from the given brackets. It's e.g. (color) or (min-width:xpx) etc.
|
inlinestaticprivate |
Loads the given segment of the given value.
|
inline |