CssPropertyRule Class
https://drafts.css-houdini.org/css-properties-values-api/#the-css-property-rule-interface
public sealed class CssPropertyRule : CssRule- Inheritance
CssRuleCssPropertyRule
Properties
| Name | Description |
|---|---|
| Inherits | Gets a value indicating whether the registered custom property inherits. |
| InitialValue | Gets the initial value of the registered custom property, or null when the rule has none. |
| Name | Gets the name of the registered custom property, including the leading --. |
| Syntax | Gets the syntax string of the registered custom property. |
Inherits
CSSRules.csGets a value indicating whether the registered custom property inherits.
public bool Inherits { get; }InitialValue
CSSRules.csGets the initial value of the registered custom property, or null when the rule has none.
public string? InitialValue { get; }Name
CSSRules.csGets the name of the registered custom property, including the leading --.
public string Name { get; }Syntax
CSSRules.csGets the syntax string of the registered custom property.
public string Syntax { get; }