Class CSSTryRule
CSS try rule representation.
public sealed record CSSTryRule : IEquatable<CSSTryRule>
- Inheritance
-
CSSTryRule
- Implements
- Inherited Members
Constructors
CSSTryRule(StyleSheetOrigin, CSSStyle)
CSS try rule representation.
public CSSTryRule(StyleSheetOrigin Origin, CSSStyle Style)
Parameters
OriginStyleSheetOriginParent stylesheet's origin.
StyleCSSStyleAssociated style declaration.
Properties
Origin
Parent stylesheet's origin.
public StyleSheetOrigin Origin { 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; }