Class CSSPositionTryRule
CSS @position-try rule representation.
public sealed record CSSPositionTryRule : IEquatable<CSSPositionTryRule>
- Inheritance
-
CSSPositionTryRule
- Implements
- Inherited Members
Constructors
CSSPositionTryRule(Value, StyleSheetOrigin, CSSStyle, bool)
CSS @position-try rule representation.
public CSSPositionTryRule(Value Name, StyleSheetOrigin Origin, CSSStyle Style, bool Active)
Parameters
NameValueThe prelude dashed-ident name
OriginStyleSheetOriginParent stylesheet's origin.
StyleCSSStyleAssociated style declaration.
Activebool
Properties
Active
public bool Active { get; init; }
Property Value
Name
The prelude dashed-ident name
public Value Name { get; init; }
Property Value
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; }