A global lookup of keyword name to handler. E.g. auto or inherit. Css keywords are instanced globally and mapped to the names they use.
Static Public Member Functions | |
static bool | Add (Type keywordType) |
Adds a CSS keyword to the global set. This is generally done automatically, but you can also add one manually if you wish. More... | |
static CssKeyword | Get (string name) |
Attempts to find the named keyword, returning the global instance if it's found. More... | |
Static Public Attributes | |
static Dictionary< string, CssKeyword > | All |
The lookup itself. Matches name (e.g. "auto") to the function that will process it. More... | |
|
inlinestatic |
Adds a CSS keyword to the global set. This is generally done automatically, but you can also add one manually if you wish.
cssKeyword | The keyword to add. |
|
inlinestatic |
Attempts to find the named keyword, returning the global instance if it's found.
name | The rule to look for. |
|
static |
The lookup itself. Matches name (e.g. "auto") to the function that will process it.