CssMarginRule Class
https://drafts.csswg.org/cssom/#the-cssmarginrule-interface
public sealed class CssMarginRule : CssRule- Inheritance
CssRuleCssMarginRule
Properties
| Name | Description |
|---|---|
| Name | Gets the name of the page margin box of the rule (e.g. top-left). |
| Style | The descriptors of the margin rule: a CSSStyleProperties object, as in browsers. |
| Type | Gets the legacy numeric type of the rule: CssRule.MarginRule for page margin rules. |
Name
CSSRules.csGets the name of the page margin box of the rule (e.g. top-left).
public string Name { get; }Style
CSSRules.csThe descriptors of the margin rule: a CSSStyleProperties object, as in browsers.
public CssStyleDeclaration Style { get; }Type
CSSRules.csGets the legacy numeric type of the rule: CssRule.MarginRule for page margin rules.
public override ushort Type { get; }