HtmlStyleElement Class
https://html.spec.whatwg.org/multipage/semantics.html#htmlstyleelement
public sealed class HtmlStyleElement : HtmlElement- Inheritance
HtmlElementHtmlStyleElement
Properties
| Name | Description |
|---|---|
| Blocking | Gets the tokens of the blocking content attribute. |
| Disabled | https://html.spec.whatwg.org/multipage/semantics.html#dom-style-disabled: the disabled flag of the associated style sheet. |
| Media | Gets or sets the value of the media content attribute. |
| Sheet | Gets the style sheet created by the style element, or null when there is none. |
| Type | Gets or sets the value of the type content attribute. |
Blocking
HtmlElements.g.csGets the tokens of the blocking content attribute.
public DomTokenList Blocking { get; }Property value
See also
Disabled
EmbeddedContent.cshttps://html.spec.whatwg.org/multipage/semantics.html#dom-style-disabled: the disabled flag of the associated style sheet.
public bool Disabled { get; set; }Media
HtmlElements.g.csGets or sets the value of the media content attribute.
public string Media { get; set; }Sheet
LinkStyle.csGets the style sheet created by the style element, or null when there is none.
public CssStyleSheet? Sheet { get; }Gets or sets the value of the type content attribute.
public string Type { get; set; }