TextBlockGetAttribute Method |
Returns the attribute value by name.
Namespace:
NeoAxis
Assembly:
NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax public string GetAttribute(
string name,
string defaultValue = ""
)
Parameters
- name
- Type: SystemString
The attribute name. - defaultValue (Optional)
- Type: SystemString
Default value. If the attribute does not exist that this value will return.
Return Value
Type:
StringThe attribute value if the attribute exists; otherwise, default value.
See Also