C# 클래스 SharpVectors.Dom.Css.CssXmlElement

상속: SharpVectors.Dom.Element, IElementCssInlineStyle
파일 보기 프로젝트 열기: codebutler/savagesvg 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
cachedCSD ICssStyleDeclaration

공개 메소드들

메소드 설명
AttributeChange ( Object src, XmlNodeChangedEventArgs args ) : void

Called when any attribute is changing. This is typically triggered by calls to setAttribute() and should only be called from the CssXmlDocument.

ChildNodeChange ( Object src, XmlNodeChangedEventArgs args ) : void

Called when any child node is changing. If an element is moved the CSS heirarchy for that element will need to change. This is mainly useful when one of the child nodes parent is a referenced node (for example in a <use> element.

CssInvalidate ( ) : void
ElementChange ( Object src, XmlNodeChangedEventArgs args ) : void

Called when this element is changing in one of the following ways Text child added/removed/changed Element moved in the tree

GetComputedCssValue ( string propertyName, string pseudoElt ) : ICssValue
GetComputedStringValue ( string propertyName, string pseudoElt ) : string
GetComputedStyle ( string pseudoElt ) : ICssStyleDeclaration
HandleAttributeChange ( XmlAttribute attribute ) : void

This function allows each element to handle it's own behaviors for attribute changing. By default, the cached computed style is invalidated because most attributes refer to style properties.

ParentNodeChange ( Object src, XmlNodeChangedEventArgs args ) : void

Called when any parent element is changing. If an element is moved the CSS heirarchy for that element will need to change.

Supports ( string feature, string version ) : bool

보호된 메소드들

메소드 설명
CssXmlElement ( string prefix, string localname, string ns, CssXmlDocument doc ) : System
FireAttributeChange ( Object src, XmlNodeChangedEventArgs args ) : void
FireChildNodeChange ( Object src, XmlNodeChangedEventArgs args, bool fireEvent ) : void
FireCssChange ( ) : void
FireElementChange ( Object src, XmlNodeChangedEventArgs args ) : void
FireParentNodeChange ( Object src, XmlNodeChangedEventArgs args, bool fireEvent ) : void

메소드 상세

AttributeChange() 공개 메소드

Called when any attribute is changing. This is typically triggered by calls to setAttribute() and should only be called from the CssXmlDocument.
public AttributeChange ( Object src, XmlNodeChangedEventArgs args ) : void
src Object
args System.Xml.XmlNodeChangedEventArgs
리턴 void

ChildNodeChange() 공개 메소드

Called when any child node is changing. If an element is moved the CSS heirarchy for that element will need to change. This is mainly useful when one of the child nodes parent is a referenced node (for example in a <use> element.
public ChildNodeChange ( Object src, XmlNodeChangedEventArgs args ) : void
src Object
args System.Xml.XmlNodeChangedEventArgs
리턴 void

CssInvalidate() 공개 메소드

public CssInvalidate ( ) : void
리턴 void

CssXmlElement() 보호된 메소드

protected CssXmlElement ( string prefix, string localname, string ns, CssXmlDocument doc ) : System
prefix string
localname string
ns string
doc CssXmlDocument
리턴 System

ElementChange() 공개 메소드

Called when this element is changing in one of the following ways Text child added/removed/changed Element moved in the tree
public ElementChange ( Object src, XmlNodeChangedEventArgs args ) : void
src Object
args System.Xml.XmlNodeChangedEventArgs
리턴 void

FireAttributeChange() 보호된 메소드

protected FireAttributeChange ( Object src, XmlNodeChangedEventArgs args ) : void
src Object
args System.Xml.XmlNodeChangedEventArgs
리턴 void

FireChildNodeChange() 보호된 메소드

protected FireChildNodeChange ( Object src, XmlNodeChangedEventArgs args, bool fireEvent ) : void
src Object
args System.Xml.XmlNodeChangedEventArgs
fireEvent bool
리턴 void

FireCssChange() 보호된 메소드

protected FireCssChange ( ) : void
리턴 void

FireElementChange() 보호된 메소드

protected FireElementChange ( Object src, XmlNodeChangedEventArgs args ) : void
src Object
args System.Xml.XmlNodeChangedEventArgs
리턴 void

FireParentNodeChange() 보호된 메소드

protected FireParentNodeChange ( Object src, XmlNodeChangedEventArgs args, bool fireEvent ) : void
src Object
args System.Xml.XmlNodeChangedEventArgs
fireEvent bool
리턴 void

GetComputedCssValue() 공개 메소드

public GetComputedCssValue ( string propertyName, string pseudoElt ) : ICssValue
propertyName string
pseudoElt string
리턴 ICssValue

GetComputedStringValue() 공개 메소드

public GetComputedStringValue ( string propertyName, string pseudoElt ) : string
propertyName string
pseudoElt string
리턴 string

GetComputedStyle() 공개 메소드

public GetComputedStyle ( string pseudoElt ) : ICssStyleDeclaration
pseudoElt string
리턴 ICssStyleDeclaration

HandleAttributeChange() 공개 메소드

This function allows each element to handle it's own behaviors for attribute changing. By default, the cached computed style is invalidated because most attributes refer to style properties.
public HandleAttributeChange ( XmlAttribute attribute ) : void
attribute System.Xml.XmlAttribute The attribute that is changing.
리턴 void

ParentNodeChange() 공개 메소드

Called when any parent element is changing. If an element is moved the CSS heirarchy for that element will need to change.
public ParentNodeChange ( Object src, XmlNodeChangedEventArgs args ) : void
src Object
args System.Xml.XmlNodeChangedEventArgs
리턴 void

Supports() 공개 메소드

public Supports ( string feature, string version ) : bool
feature string
version string
리턴 bool

프로퍼티 상세

cachedCSD 보호되어 있는 프로퍼티

protected ICssStyleDeclaration cachedCSD
리턴 ICssStyleDeclaration