TX Text Control .NET for WPF

BlockType Property

Property|Introduced in 24.0
Namespace
TXTextControl.DocumentServer.WPF
Package
TXTextControl.TextControl.WPF.SDK as TXDocumentServer.WPF.dll from the private NuGet feed or Text Control Offline Packages

Description

Indicates the type of the merge block to be created.

Syntax

public BlockTemplateType BlockType { get; }

Members

ValueDescription
TableRowCreate a table row containing the repeating merge block.
PlainParagraphCreate a paragraph containing the repeating merge block.

Examples

The following example includes the block type value in application diagnostics. The created object is then available to the surrounding document workflow.

Console.WriteLine($"Block Type: {insertMergeBlockDialog.BlockType}");
Console.WriteLine("Insert Merge Block Dialog is ready for use.");

Limitations

Read only.