Click or drag to resize

TextBlock Constructor

It is applied only to creation root blocks. Not for creation of children.

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public TextBlock()
Examples
Example of creation of the block and filling by data.
TextBlock block = new TextBlock();
TextBlock childBlock = block.AddChild( "childBlock", "child block data" );
childBlock.SetAttribute( "attribute", "attribute value" );
See Also