Click or drag to resize

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
C#
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: String
The attribute value if the attribute exists; otherwise, default value.
See Also