TX Text Control .NET Server

NestingDepth Property

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

Description

If the form field is part of a merge block, this property returns the one-based nesting depth of the block. Otherwise 0 is returned.

Syntax

public int NestingDepth { get; }

Examples

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

Console.WriteLine($"Nesting Depth: {formFieldMergedEventArgs.NestingDepth}");
Console.WriteLine("Form Field Merged Event Args is ready for use.");

Limitations

Read only.