API Reference
Class
HtmlCssRule
Base type for a CSS at-rule or qualified rule.
Inheritance
- HtmlCssSyntaxNode
- HtmlCssRule
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property HtmlCssAtRule.Rules
- Property HtmlCssQualifiedRule.Rules
- Property HtmlCssRule.Rules
- Property HtmlCssStyleSheet.Rules
Inherited Methods
public virtual Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public IReadOnlyList<HtmlCssComponentValue> Prelude { get; } #Component values before the rule block or terminator.
public String PreludeText { get; } #Exact source text before the rule block or at-rule terminator.
public HtmlCssSimpleBlock Block { get; } #The exact curly block, or null for a statement at-rule.
public IReadOnlyList<HtmlCssSyntaxNode> Contents { get; } #Best-effort syntax-only declarations and nested rules in a block, in authored order.
public IReadOnlyList<HtmlCssDeclaration> Declarations { get; } #Direct declarations in the rule block, in authored order.
public IReadOnlyList<HtmlCssRule> Rules { get; } #Direct nested at-rules and qualified rules, in authored order.
Inherited Properties
public HtmlCssSyntaxKind Kind { get; } #Inherited from HtmlCssSyntaxNode
public HtmlCssSourceSpan Span { get; } #Inherited from HtmlCssSyntaxNode