CssMarginRule Class

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

public sealed class CssMarginRule : CssRule
Inheritance
CssRule CssMarginRule

Properties

NameDescription
NameGets the name of the page margin box of the rule (e.g. top-left).
StyleThe descriptors of the margin rule: a CSSStyleProperties object, as in browsers.
TypeGets the legacy numeric type of the rule: CssRule.MarginRule for page margin rules.

Gets the name of the page margin box of the rule (e.g. top-left).

public string Name { get; }

The descriptors of the margin rule: a CSSStyleProperties object, as in browsers.

public CssStyleDeclaration Style { get; }

Gets the legacy numeric type of the rule: CssRule.MarginRule for page margin rules.

public override ushort Type { get; }

Property value

ushort