API Reference
Class
HtmlCssDeclaration
A declaration retained in source order without applying property grammar.
Inheritance
- HtmlCssSyntaxNode
- HtmlCssDeclaration
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.Declarations
- Property HtmlCssQualifiedRule.Declarations
- Property HtmlCssRule.Declarations
- Property HtmlCssStyleBlock.Declarations
Accepted by parameters
- Method HtmlCssPropertyParser.Parse
- Method HtmlCssPropertyParser.Parse
Inherited Methods
public virtual Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public String Name { get; } #Decoded declaration name. Custom-property names remain case-sensitive.
public HtmlCssSourceSpan ValueSpan { get; } #Exact source range after the colon and before the declaration terminator.
public String ValueText { get; } #Exact authored text after the colon and before the declaration terminator.
public IReadOnlyList<HtmlCssComponentValue> Values { get; } #Nested component values in authored order, including comments and whitespace.
public Boolean IsImportant { get; } #Whether the final non-trivia value tokens form !important.
public Boolean IsCustomProperty { get; } #Whether this is a case-sensitive custom property.
Inherited Properties
public HtmlCssSyntaxKind Kind { get; } #Inherited from HtmlCssSyntaxNode
public HtmlCssSourceSpan Span { get; } #Inherited from HtmlCssSyntaxNode