Class CSSContainerQuery
CSS container query rule descriptor.
public sealed record CSSContainerQuery : IEquatable<CSSContainerQuery>
- Inheritance
-
CSSContainerQuery
- Implements
- Inherited Members
Constructors
CSSContainerQuery(string, string)
CSS container query rule descriptor.
public CSSContainerQuery(string Text, string ConditionText)
Parameters
TextstringContainer query text. Contains the query part without the container name for a single query. Deprecated in favor of conditionText which contains the full prelude after @container.
ConditionTextstringCSSContainerRule.conditionText
Properties
ConditionText
CSSContainerRule.conditionText
public string ConditionText { get; init; }
Property Value
LogicalAxes
Optional logical axes queried for the container.
public LogicalAxes? LogicalAxes { get; init; }
Property Value
Name
Optional name for the container.
public string? Name { get; init; }
Property Value
PhysicalAxes
Optional physical axes queried for the container.
public PhysicalAxes? PhysicalAxes { get; init; }
Property Value
QueriesAnchored
true if the query contains anchored() queries.
public bool? QueriesAnchored { get; init; }
Property Value
- bool?
QueriesScrollState
true if the query contains scroll-state() queries.
public bool? QueriesScrollState { get; init; }
Property Value
- bool?
Range
The associated rule header range in the enclosing stylesheet (if available).
public SourceRange? Range { get; init; }
Property Value
StyleSheetId
Identifier of the stylesheet containing this object (if exists).
public StyleSheetId? StyleSheetId { get; init; }
Property Value
Text
Container query text. Contains the query part without the container name for a single query. Deprecated in favor of conditionText which contains the full prelude after @container.
public string Text { get; init; }