Class SVGStyleElement
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
The SVGStyleElement interface corresponds to the SVG style element.
[Value("SVGStyleElement")]
public class SVGStyleElement : SVGElement, ElementCSSInlineStyle, GlobalEventHandlers, SVGElementInstance, HTMLOrSVGElement, LinkStyle
- Inheritance
-
SVGStyleElement
- Implements
- Inherited Members
Remarks
Constructors
SVGStyleElement()
public SVGStyleElement()
Properties
Media
The SVGStyleElement.media property is a media query string corresponding to the media attribute of the given SVG style element.
[Value("media")]
public string Media { get; set; }
Property Value
- string
A string defining a valid media query list with one or more comma separated values.
For example"screen, print", or"all"(the default).The value is initialized with the string specified in the corresponding style'smediaattribute.
Remarks
Title
The SVGStyleElement.title property is a string corresponding to the title attribute of the given SVG style element.
It may be used to select between alternate style sheets.
[Value("title")]
public string Title { get; set; }
Property Value
- string
A string with any value.The value is initialized with the string specified in the corresponding style's
titleattribute.
Remarks
Type
IMPORTANT
DeprecatedSVGStyleElement.type property returns the type of the current style.The value reflects the associated SVG
<style> element's type attribute.
[Value("type")]
public string Type { get; set; }
Property Value
- string
The permitted values are an empty string or a case-insensitive match for "text/css".