CssContainerRule Class
https://drafts.csswg.org/css-conditional-5/#the-csscontainerrule-interface
public sealed class CssContainerRule : CssConditionRule- Inheritance
CssConditionRuleCssContainerRule
Properties
| Name | Description |
|---|---|
| ConditionText | Gets the text of the condition of the rule. |
| Conditions | Gets the container conditions of the rule. |
| ContainerName | Gets the name of the container targeted by the rule, or an empty string when the rule has not exactly one condition. |
| ContainerQuery | Gets the container query of the rule, or an empty string when the rule has not exactly one condition. |
ConditionText
CSSRules.csGets the text of the condition of the rule.
public override string ConditionText { get; }Property value
See also
Conditions
CSSRules.csGets the container conditions of the rule.
public IReadOnlyList<CssContainerCondition> Conditions { get; }ContainerName
CSSRules.csGets the name of the container targeted by the rule, or an empty string when the rule has not exactly one condition.
public string ContainerName { get; }Property value
See also
ContainerQuery
CSSRules.csGets the container query of the rule, or an empty string when the rule has not exactly one condition.
public string ContainerQuery { get; }