Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

HtmlCssDeclaration

Namespace OfficeIMO.Html.Css
Assembly OfficeIMO.Html.Core
Modifiers sealed

A declaration retained in source order without applying property grammar.

Inheritance

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

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.