CssValue
01 Syntax
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| ParseNumber | 1 | Evals a number and returns it. |
| GetActualColor | 1 | Parses a color value in CSS style; e.g. |
| SplitValues | 2 | Split the value by the specified separator; e.g. |
| GetTypeInfo | 1 | Detects the type name in a path. |
| DetectSource | 1 | Returns the object specific to the path |
| GetStyleSheet | 1 | Gets the content of the stylesheet specified in the path |
| GoLink | 1 | Executes the desired action when the user clicks a link |
03 Members
String, Single)Evals a number and returns it. If number is a percentage, it will be multiplied by hundredPercent
| Name | Type | Description |
|---|---|---|
number | String | Number to be parsed |
hundredPercent | Single | Number that represents the 100% if parsed number is a percentage |
Parsed number. Zero if error while parsing.
String)Parses a color value in CSS style; e.g. #ff0000, red, rgb(255,0,0), rgb(100%, 0, 0)
| Name | Type | Description |
|---|---|---|
colorValue | String | Specified color value; e.g. #ff0000, red, rgb(255,0,0), rgb(100%, 0, 0) |
System.Drawing.Color value
String)Split the value by spaces; e.g. Useful in values like 'padding:5 4 3 inherit'
| Name | Type | Description |
|---|---|---|
value | String | Value to be splitted |
Splitted and trimmed values
String, Char)Split the value by the specified separator; e.g. Useful in values like 'padding:5 4 3 inherit'
| Name | Type | Description |
|---|---|---|
value | String | Value to be splitted |
Splitted and trimmed values
String, String)Detects the type name in a path. E.g. Gets System.Drawing.Graphics from a path like System.Drawing.Graphics.Clear
| Name | Type | Description |
|---|---|---|
path | String | - |
String)Returns the object specific to the path
| Name | Type | Description |
|---|---|---|
path | String | - |
One of the following possible objects: FileInfo, MethodInfo, PropertyInfo
String)Gets the content of the stylesheet specified in the path
| Name | Type | Description |
|---|---|---|
path | String | - |
String)Executes the desired action when the user clicks a link
| Name | Type | Description |
|---|---|---|
href | String | - |