CssPageRule Class

https://drafts.csswg.org/cssom/#the-csspagerule-interface

public sealed class CssPageRule : CssGroupingRule
Inheritance
CssGroupingRule CssPageRule

Properties

NameDescription
SelectorTextGets or sets the serialized page selector of the rule.
StyleGets the descriptors of the rule.
TypeGets the legacy numeric type of the rule: CssRule.PageRule for @page rules.

SelectorText

CSSRules.cs

Gets or sets the serialized page selector of the rule.

public string SelectorText { get; set; }

Gets the descriptors of the rule.

public CssPageDescriptors Style { get; }

Gets the legacy numeric type of the rule: CssRule.PageRule for @page rules.

public override ushort Type { get; }

Property value

ushort