C# Class SharpVectors.Dom.Css.CssValue

The CSSValue interface represents a simple or a complex value. A CSSValue object only occurs in a context of a CSS property
Inheritance: ICssValue
显示文件 Open project: codebutler/savagesvg Class Usage Examples

Public Properties

Property Type Description
AnglePattern string
AngleUnitPattern string
LengthPattern string
LengthUnitPattern string

Protected Properties

Property Type Description
_cssValueType CssValueType

Public Methods

Method Description
CssValue ( CssValueType type, string cssText, bool readOnly ) : System

Constructor for CssValue

GetAbsoluteValue ( string propertyName, XmlElement elm ) : CssValue
GetCssValue ( string cssText, bool readOnly ) : CssValue

Detects what kind of value cssText contains and returns an instance of the correct CssValue class

Protected Methods

Method Description
CssValue ( ) : System

Only for internal use

Method Details

CssValue() protected method

Only for internal use
protected CssValue ( ) : System
return System

CssValue() public method

Constructor for CssValue
public CssValue ( CssValueType type, string cssText, bool readOnly ) : System
type CssValueType The type of value
cssText string The entire content of the value
readOnly bool Specifies if the instance is read-only
return System

GetAbsoluteValue() public method

public GetAbsoluteValue ( string propertyName, XmlElement elm ) : CssValue
propertyName string
elm System.Xml.XmlElement
return CssValue

GetCssValue() public static method

Detects what kind of value cssText contains and returns an instance of the correct CssValue class
public static GetCssValue ( string cssText, bool readOnly ) : CssValue
cssText string The text to parse for a CSS value
readOnly bool Specifies if this instance is read-only
return CssValue

Property Details

AnglePattern public_oe static_oe property

public static string AnglePattern
return string

AngleUnitPattern public_oe static_oe property

public static string AngleUnitPattern
return string

LengthPattern public_oe static_oe property

public static string LengthPattern
return string

LengthUnitPattern public_oe static_oe property

public static string LengthUnitPattern
return string

_cssValueType protected_oe property

protected CssValueType _cssValueType
return CssValueType