TX Text Control .NET for WPF

NestingDepth Property

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

Description

If the frame 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: {frameMergedEventArgs.NestingDepth}");
Console.WriteLine("Frame Merged Event Args is ready for use.");

Limitations

Read only.