Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

HtmlCssDeclaration

OfficeIMO.Html.Css

Namespace
OfficeIMO.Html.Css
Assembly
OfficeIMO.Html.Core
Source revision
56dd0d38e0b5 with working tree changes
Modifiers
sealed

A declaration retained in source order without applying property grammar.

Inheritance

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.

Accepted by parameters 1

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.