Table of Contents

Class CssXmlDocument

Namespace
SharpVectors.Dom.Css
Assembly
SharpVectors.Css.dll

A XmlDocument with CSS support

public class CssXmlDocument : Document, ICloneable, IEnumerable, IXPathNavigable, IDocument, INode, IXmlNode, IEventTargetSupport, IEventTarget, IDocumentEvent, IDocumentCss, IDocumentStyle, ICssView
Inheritance
CssXmlDocument
Implements
Derived
Inherited Members

Constructors

CssXmlDocument()

Initializes a new instance of CssXmlDocument

CssXmlDocument(XmlNameTable)

Initializes a new instance of CssXmlDocument

Properties

CssPropertyProfile
Document

The source SharpVectors.Dom.Views.IDocumentView of which this is an IAbstractView.

IsLoaded
Media
Static

Gets or sets a value indicating whether this CssXmlDocument handles DOM dynamic changes. Sometimes (when loading or rendering) this needs to be disabled. See StaticSection for more information about use

StyleSheets

All the stylesheets associated with this document

Url
UserAgentStyleSheet
UserStyleSheet

Methods

AddStyleElement(string, string)

Adds a element type to be used as style elements (e.g. as in the HTML style element)

AddStyleSheet(string)
CreateElement(string, string, string)

Creates an element with the specified Prefix, LocalName, and NamespaceURI.

GetComputedStyle(XmlElement, string)

This method is used to get the computed style as it is defined in [CSS2].

GetOverrideStyle(XmlElement, string)

This method is used to retrieve the override style declaration for a specified element and a specified pseudo-element.

GetResource(Uri)
Load(Stream)

Loads the XML document from the specified stream.

Load(string)

Loads a XML document, compare to XmlDocument.Load()

Load(XmlReader)

Loads the XML document from the specified XmlReader.

LoadXml(string)

Loads the XML document from the specified string.

NodeChangedEvent(object, XmlNodeChangedEventArgs)
OnLoaded()
SetUserAgentStyleSheet(string)

Sets the user agent stylesheet for this document

SetUserStyleSheet(string)

Sets the user stylesheet for this document