More...
|
override string | ToScript () |
|
virtual void | Render () |
|
virtual void | Call (string name) |
|
virtual void | Call (string name, params object[] args) |
|
virtual void | Set (string name, object value) |
|
virtual void | AddScript (string template, params object[] args) |
|
virtual void | AddScript (string script) |
|
|
static void | CreateStyleSheet (string cssText, string id) |
| Creates a stylesheet from a text blob of rules. These rules will be wrapped in a STYLE tag and appended to the HEAD of the document. More...
|
|
static void | RefreshCache () |
| Refresh the rule cache if you have dynamically added stylesheets More...
|
|
static void | RemoveStyleSheet (string id) |
| Removes a style or link tag by id More...
|
|
static void | SwapStyleSheet (string id, string url) |
| Dynamically swaps an existing stylesheet reference for a new one More...
|
|
static void | UpdateRule (string selector, string property, string value) |
| Updates a rule property More...
|
|
static void | UpdateRule (string[] selectors, string property, string value) |
| Updates a rule property More...
|
|
|
virtual void | CallCSS (string name, params object[] args) |
|
virtual void | CallTemplate (string template, string name, params object[] args) |
|
virtual string | FormatCall (string name, params object[] args) |
|
virtual string | FormatCallTemplate (string template, string name, params object[] args) |
|
virtual string | FormatArgs (object[] args) |
|
◆ CallCSS()
virtual void Ext.Net.CSS.CallCSS |
( |
string |
name, |
|
|
params object[] |
args |
|
) |
| |
|
inlineprotectedvirtual |
◆ CreateStyleSheet()
static void Ext.Net.CSS.CreateStyleSheet |
( |
string |
cssText, |
|
|
string |
id |
|
) |
| |
|
inlinestatic |
Creates a stylesheet from a text blob of rules. These rules will be wrapped in a STYLE tag and appended to the HEAD of the document.
- Parameters
-
cssText | The text containing the css rules |
id | An id to add to the stylesheet for later removal |
◆ RefreshCache()
static void Ext.Net.CSS.RefreshCache |
( |
| ) |
|
|
inlinestatic |
Refresh the rule cache if you have dynamically added stylesheets
◆ RemoveStyleSheet()
static void Ext.Net.CSS.RemoveStyleSheet |
( |
string |
id | ) |
|
|
inlinestatic |
Removes a style or link tag by id
- Parameters
-
◆ SwapStyleSheet()
static void Ext.Net.CSS.SwapStyleSheet |
( |
string |
id, |
|
|
string |
url |
|
) |
| |
|
inlinestatic |
Dynamically swaps an existing stylesheet reference for a new one
- Parameters
-
id | The id of an existing link tag to remove |
url | The href of the new stylesheet to include |
◆ ToScript()
override string Ext.Net.CSS.ToScript |
( |
| ) |
|
|
inlinevirtual |
◆ UpdateRule() [1/2]
static void Ext.Net.CSS.UpdateRule |
( |
string |
selector, |
|
|
string |
property, |
|
|
string |
value |
|
) |
| |
|
inlinestatic |
Updates a rule property
- Parameters
-
selector | Selector to update |
property | The css property |
value | The new value for the property |
◆ UpdateRule() [2/2]
static void Ext.Net.CSS.UpdateRule |
( |
string[] |
selectors, |
|
|
string |
property, |
|
|
string |
value |
|
) |
| |
|
inlinestatic |
Updates a rule property
- Parameters
-
selectors | Array of selectors - it tries each selector until it finds one. Stops immediately once one is found. |
property | The css property |
value | The new value for the property |
◆ InstanceOf
override string Ext.Net.CSS.InstanceOf |
|
get |
The documentation for this class was generated from the following file: