StyleSheet Class
https://drafts.csswg.org/cssom/#the-stylesheet-interface
public abstract class StyleSheetProperties
| Name | Description |
|---|---|
| Disabled | https://drafts.csswg.org/cssom/#dom-stylesheet-disabled |
| Href | https://drafts.csswg.org/cssom/#dom-stylesheet-href: the location of the style sheet (null for embedded and constructed style sheets). |
| Media | Gets the media queries associated with the style sheet. |
| OwnerNode | https://drafts.csswg.org/cssom/#dom-stylesheet-ownernode: the element or processing instruction that created the style sheet. |
| ParentStyleSheet | https://drafts.csswg.org/cssom/#dom-stylesheet-parentstylesheet: the style sheet that imports this style sheet with an @import rule. |
| Title | https://drafts.csswg.org/cssom/#dom-stylesheet-title: the title of a link element is a reference to its attribute. |
| Type | Gets the media type of the style sheet, always text/css. |
Disabled
CssStyleSheet.cshttps://drafts.csswg.org/cssom/#dom-stylesheet-disabled
public bool Disabled { get; set; }Href
CssStyleSheet.cshttps://drafts.csswg.org/cssom/#dom-stylesheet-href: the location of the style sheet (null for embedded and constructed style sheets).
public string? Href { get; }Media
CssStyleSheet.csGets the media queries associated with the style sheet.
public MediaList Media { get; }OwnerNode
CssStyleSheet.cshttps://drafts.csswg.org/cssom/#dom-stylesheet-ownernode: the element or processing instruction that created the style sheet.
public Node? OwnerNode { get; }ParentStyleSheet
CssStyleSheet.cshttps://drafts.csswg.org/cssom/#dom-stylesheet-parentstylesheet: the style sheet that imports this style sheet with an @import rule.
public CssStyleSheet? ParentStyleSheet { get; }Title
CssStyleSheet.cshttps://drafts.csswg.org/cssom/#dom-stylesheet-title: the title of a link element is a reference to its attribute.
public string? Title { get; }Type
CssStyleSheet.csGets the media type of the style sheet, always text/css.
public string Type { get; }