C# Класс SharpVectors.Dom.Css.CssCollectedStyleDeclaration

Used internally for collection of styles for a specific element
Наследование: CssStyleDeclaration
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
getParentStyle ( string propertyName ) : ICssValue

Описание методов

CollectProperty() публичный Метод

public CollectProperty ( string name, int specificity, CssValue cssValue, CssStyleSheetType origin, string priority ) : void
name string
specificity int
cssValue CssValue
origin CssStyleSheetType
priority string
Результат void

CssCollectedStyleDeclaration() публичный Метод

public CssCollectedStyleDeclaration ( XmlElement elm ) : System
elm System.Xml.XmlElement
Результат System

GetPropertyCssValue() публичный Метод

public GetPropertyCssValue ( string propertyName ) : ICssValue
propertyName string
Результат ICssValue

GetPropertyOrigin() публичный Метод

Returns the origin type of the collected property
public GetPropertyOrigin ( string propertyName ) : CssStyleSheetType
propertyName string The name of the property
Результат CssStyleSheetType

GetPropertyPriority() публичный Метод

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.
Результат string

GetPropertyValue() публичный Метод

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.
Результат string

this() публичный Метод

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
Результат string