Click or drag to resize

TextBlockGetAttribute Method

Returns the attribute value by name.

Namespace: NeoAxis
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public 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

String
The attribute value if the attribute exists; otherwise, default value.
See Also