Class CSSPropertyRule
CSS property at-rule representation.
public sealed record CSSPropertyRule : IEquatable<CSSPropertyRule>
- Inheritance
-
CSSPropertyRule
- Implements
- Inherited Members
Constructors
CSSPropertyRule(StyleSheetOrigin, Value, CSSStyle)
CSS property at-rule representation.
public CSSPropertyRule(StyleSheetOrigin Origin, Value PropertyName, CSSStyle Style)
Parameters
OriginStyleSheetOriginParent stylesheet's origin.
PropertyNameValueAssociated property name.
StyleCSSStyleAssociated style declaration.
Properties
Origin
Parent stylesheet's origin.
public StyleSheetOrigin Origin { get; init; }
Property Value
PropertyName
Associated property name.
public Value PropertyName { get; init; }
Property Value
Style
Associated style declaration.
public CSSStyle Style { get; init; }
Property Value
StyleSheetId
The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.
public StyleSheetId? StyleSheetId { get; init; }