Interface IAttribute
Definition
Namespace: StardewUI.Framework.Dom
Assembly: StardewUI.dll
Attribute of a StarML element.
Members
Properties
Name | Description |
---|---|
ContextRedirect | Specifies the redirect to use for a context binding, if applicable and if the ValueType is one of the context binding types. |
IsNegated | Whether the attribute has a negation. Validity and behavior depend on the specific attribute. |
Name | The attribute name. |
Type | The type of the attribute itself, defining how the Name should be interpreted. |
Value | The literal value text. |
ValueType | The type of the value expression, defining how the Value should be interpreted. |
Methods
Name | Description |
---|---|
Print(StringBuilder) | Prints the textual representation of this node. |
Details
Properties
ContextRedirect
Specifies the redirect to use for a context binding, if applicable and if the ValueType is one of the context binding types.
Property Value
IsNegated
Whether the attribute has a negation. Validity and behavior depend on the specific attribute.
Property Value
Name
The attribute name.
Property Value
Type
The type of the attribute itself, defining how the Name should be interpreted.
Property Value
Value
The literal value text.
Property Value
ValueType
The type of the value expression, defining how the Value should be interpreted.
Property Value
Methods
Print(StringBuilder)
Prints the textual representation of this node.
Parameters
sb
StringBuilder
Builder to receive the attribute's text output.