HtmlStyleElement Class

https://html.spec.whatwg.org/multipage/semantics.html#htmlstyleelement

public sealed class HtmlStyleElement : HtmlElement
Inheritance
HtmlElement HtmlStyleElement

Properties

NameDescription
BlockingGets the tokens of the blocking content attribute.
Disabledhttps://html.spec.whatwg.org/multipage/semantics.html#dom-style-disabled: the disabled flag of the associated style sheet.
MediaGets or sets the value of the media content attribute.
SheetGets the style sheet created by the style element, or null when there is none.
TypeGets or sets the value of the type content attribute.

Gets the tokens of the blocking content attribute.

public DomTokenList Blocking { get; }

https://html.spec.whatwg.org/multipage/semantics.html#dom-style-disabled: the disabled flag of the associated style sheet.

public bool Disabled { get; set; }

Gets or sets the value of the media content attribute.

public string Media { get; set; }

Gets 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; }