Class
HtmlCssDeclaration
OfficeIMO.Html.Css
A declaration retained in source order without applying property grammar.
Inheritance
- HtmlCssSyntaxNode
- HtmlCssDeclaration
Usage
Explore 5 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 4
- Property HtmlCssAtRule.Declarations
- Property HtmlCssQualifiedRule.Declarations
- Property HtmlCssRule.Declarations
- Property HtmlCssStyleBlock.Declarations
Accepted by parameters 1
- Method HtmlCssPropertyParser.Parse
Inherited Methods
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 bool IsImportant { get; } #Whether the final non-trivia value tokens form !important.
public bool IsCustomProperty { get; } #Whether this is a case-sensitive custom property.