Class CSSStyleRule
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
The CSSStyleRule interface represents a single CSS style rule.
[Value("CSSStyleRule")]
public class CSSStyleRule : CSSGroupingRule
- Inheritance
-
CSSStyleRule
- Inherited Members
Remarks
Constructors
CSSStyleRule()
public CSSStyleRule()
Properties
SelectorText
The selectorText property of the CSSStyleRule interface gets and sets the selectors associated with the CSSStyleRule.
[Value("selectorText")]
public string SelectorText { get; set; }
Property Value
- string
A string.
Remarks
Style
The read-only style property is the CSSStyleDeclaration interface for the declaration block of the CSSStyleRule.
[Value("style")]
public CSSStyleProperties Style { get; }
Property Value
- CSSStyleProperties
A CSSStyleDeclaration object, with the following properties:
Remarks
StyleMap
The styleMap read-only property of the
CSSStyleRule interface returns a 'StylePropertyMap' object
which provides access to the rule's property-value pairs.
[Value("styleMap")]
public StylePropertyMap StyleMap { get; }
Property Value
- StylePropertyMap
A 'StylePropertyMap' object.