Class CSSProperty
CSS property declaration data.
public sealed class CSSProperty
- Inheritance
-
CSSProperty
- Inherited Members
Properties
Disabled
Whether the property is disabled by the user (present for source-based properties only).
[JsonPropertyName("disabled")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? Disabled { get; set; }
Property Value
- bool?
Implicit
Whether the property is implicit (implies false if absent).
[JsonPropertyName("implicit")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? Implicit { get; set; }
Property Value
- bool?
Important
Whether the property has "!important" annotation (implies false if absent).
[JsonPropertyName("important")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? Important { get; set; }
Property Value
- bool?
LonghandProperties
Parsed longhand components of this property if it is a shorthand. This field will be empty if the given property is not a shorthand.
[JsonPropertyName("longhandProperties")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public CSSProperty[]? LonghandProperties { get; set; }
Property Value
Name
The property name.
[JsonPropertyName("name")]
public string Name { get; set; }
Property Value
ParsedOk
Whether the property is understood by the browser (implies true if absent).
[JsonPropertyName("parsedOk")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? ParsedOk { get; set; }
Property Value
- bool?
Range
The entire property range in the enclosing style declaration (if available).
[JsonPropertyName("range")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public SourceRange? Range { get; set; }
Property Value
Text
The full property text as specified in the style.
[JsonPropertyName("text")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Text { get; set; }
Property Value
Value
The property value.
[JsonPropertyName("value")]
public string Value { get; set; }