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