NestingDepth Property
- Namespace
TXTextControl.DocumentServer
- Package
TXTextControl.asTextControl. WinForms. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline Packagesdll
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; }Public ReadOnly Property NestingDepth As IntegerExamples
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.");Console.WriteLine($"Nesting Depth: {formFieldMergedEventArgs.NestingDepth}")
Console.WriteLine("Form Field Merged Event Args is ready for use.")Limitations
Read only.