C# Class SharpVectors.Dom.Css.CssCollectedStyleDeclaration

Used internally for collection of styles for a specific element
Inheritance: CssStyleDeclaration
Afficher le fichier Open project: codebutler/savagesvg Class Usage Examples

Méthodes publiques

Méthode Description
CollectProperty ( string name, int specificity, CssValue cssValue, CssStyleSheetType origin, string priority ) : void
CssCollectedStyleDeclaration ( XmlElement elm ) : System
GetPropertyCssValue ( string propertyName ) : ICssValue
GetPropertyOrigin ( string propertyName ) : CssStyleSheetType

Returns the origin type of the collected property

GetPropertyPriority ( string propertyName ) : string

Used to retrieve the priority of a CSS property (e.g. the "important" qualifier) if the property has been explicitly set in this declaration block.

GetPropertyValue ( string propertyName ) : string

Used to retrieve the value of a CSS property if it has been explicitly set within this declaration block.

this ( ulong index ) : string

Used to retrieve the properties that have been explicitly set in this declaration block. The order of the properties retrieved using this method does not have to be the order in which they were set. This method can be used to iterate over all properties in this declaration block. The name of the property at this ordinal position. The empty string if no property exists at this position.

Private Methods

Méthode Description
getParentStyle ( string propertyName ) : ICssValue

Method Details

CollectProperty() public méthode

public CollectProperty ( string name, int specificity, CssValue cssValue, CssStyleSheetType origin, string priority ) : void
name string
specificity int
cssValue CssValue
origin CssStyleSheetType
priority string
Résultat void

CssCollectedStyleDeclaration() public méthode

public CssCollectedStyleDeclaration ( XmlElement elm ) : System
elm System.Xml.XmlElement
Résultat System

GetPropertyCssValue() public méthode

public GetPropertyCssValue ( string propertyName ) : ICssValue
propertyName string
Résultat ICssValue

GetPropertyOrigin() public méthode

Returns the origin type of the collected property
public GetPropertyOrigin ( string propertyName ) : CssStyleSheetType
propertyName string The name of the property
Résultat CssStyleSheetType

GetPropertyPriority() public méthode

Used to retrieve the priority of a CSS property (e.g. the "important" qualifier) if the property has been explicitly set in this declaration block.
public GetPropertyPriority ( string propertyName ) : string
propertyName string The name of the CSS property. See the CSS property index.
Résultat string

GetPropertyValue() public méthode

Used to retrieve the value of a CSS property if it has been explicitly set within this declaration block.
public GetPropertyValue ( string propertyName ) : string
propertyName string The name of the CSS property. See the CSS property index.
Résultat string

this() public méthode

Used to retrieve the properties that have been explicitly set in this declaration block. The order of the properties retrieved using this method does not have to be the order in which they were set. This method can be used to iterate over all properties in this declaration block. The name of the property at this ordinal position. The empty string if no property exists at this position.
public this ( ulong index ) : string
index ulong
Résultat string