A html element which is created when using . They are tracked in this way so their content can be replaced if the language of the UI changes.
Public Member Functions | |
void | SetVariableName (string name) |
Changes the name of the variable. Thats the text used . More... | |
string | GetArgument (int id) |
Reads the runtime argument at the given index. Used with &arg.X; where x starts from 0. The arguments themselves originate from e.g. &variableName(arg0,arg1,arg2..); More... | |
void | SetArguments (string[] arguments) |
Sets the runtime argument set. See the Arguments variable. More... | |
override void | ToString (System.Text.StringBuilder builder) |
void | LoadNow () |
Loads the content of this variable element by looking up the content for the variables name. More... | |
override string | ToString () |
Gets this elements content as text. More... | |
Package Functions | |
override void | ResetVariable (string name) |
Reloads the content of this variable if it's name matches the given one. More... | |
override void | ResetAllVariables () |
Reloads the content of this variable element. This should be used when the language of the UI changes. More... | |
Package Attributes | |
string | Name |
The used. More... | |
string[] | Arguments |
The set of arguments that can be passed into a variable at runtime. &Name(a0,a1,a2..); Arguments are accessed simply with &arg.X; More... | |
Properties | |
override string | textContent [get, set] |
The internal text content of the lang node. More... | |
override string | innerHTML [get, set] |
Gets or sets the innerHTML of this element. More... | |
Additional Inherited Members | |
Public Attributes inherited from PowerUI.HtmlElement | |
bool | IsFocusable |
True if this tag is focusable. More... | |
ElementStyle | Style |
Internal use only. The style of this element. Use PowerUI.HtmlElement.style instead. More... | |
NodeList | KidsToRender |
Internal use only. Children being rendered are set here. This allows multiple threads to access the DOM. More... | |
object | Data |
A custom data object for whatever you would like to pass through for e.g. callbacks. More... | |
Protected Member Functions inherited from PowerUI.HtmlElement | |
override bool | HandleLocalEvent (Dom.Event e, bool bubblePhase) |
Runs the given function held in the named attribute (e.g. onkeydown) and checks if that function blocked the event. In the case of a blocked event, no default action should occur. Note that this is called by dispatchEvent and the attribute functions run before handlers do (same as Firefox). More... | |
Static Package Attributes inherited from PowerUI.HtmlElement | |
static Node | CachedFullscreenParent |
The original FS parent node. More... | |
static string | CachedFullscreenStyle |
The original style of the FS element. More... | |
|
inline |
Reads the runtime argument at the given index. Used with &arg.X; where x starts from 0. The arguments themselves originate from e.g. &variableName(arg0,arg1,arg2..);
|
inline |
Loads the content of this variable element by looking up the content for the variables name.
Implements Dom.ILangNode.
|
inlinepackage |
Reloads the content of this variable element. This should be used when the language of the UI changes.
|
inlinepackage |
Reloads the content of this variable if it's name matches the given one.
name | The name of the variable to reset. |
|
inline |
Sets the runtime argument set. See the Arguments variable.
arguments | The new arguments. |
Implements Dom.ILangNode.
|
inline |
Changes the name of the variable. Thats the text used .
Implements Dom.ILangNode.
|
inline |
|
inline |
Gets this elements content as text.
|
package |
The set of arguments that can be passed into a variable at runtime. &Name(a0,a1,a2..); Arguments are accessed simply with &arg.X;
|
package |
The used.
|
getset |
Gets or sets the innerHTML of this element.
|
getset |
The internal text content of the lang node.