Class CSSStyle
CSS style representation.
public sealed class CSSStyle
- Inheritance
-
CSSStyle
- Inherited Members
Properties
CssProperties
CSS properties in the style.
[JsonPropertyName("cssProperties")]
public CSSProperty[] CssProperties { get; set; }
Property Value
CssText
Style declaration text (if available).
[JsonPropertyName("cssText")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? CssText { get; set; }
Property Value
Range
Style declaration range in the enclosing stylesheet (if available).
[JsonPropertyName("range")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public SourceRange? Range { get; set; }
Property Value
ShorthandEntries
Computed values for all shorthands found in the style.
[JsonPropertyName("shorthandEntries")]
public ShorthandEntry[] ShorthandEntries { get; set; }
Property Value
StyleSheetId
The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.
[JsonPropertyName("styleSheetId")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? StyleSheetId { get; set; }