CssPageRule Class
https://drafts.csswg.org/cssom/#the-csspagerule-interface
public sealed class CssPageRule : CssGroupingRule- Inheritance
CssGroupingRuleCssPageRule
Properties
| Name | Description |
|---|---|
| SelectorText | Gets or sets the serialized page selector of the rule. |
| Style | Gets the descriptors of the rule. |
| Type | Gets the legacy numeric type of the rule: CssRule.PageRule for @page rules. |
SelectorText
CSSRules.csGets or sets the serialized page selector of the rule.
public string SelectorText { get; set; }Style
CSSRules.csGets the descriptors of the rule.
public CssPageDescriptors Style { get; }Type
CSSRules.csGets the legacy numeric type of the rule: CssRule.PageRule for @page rules.
public override ushort Type { get; }