TX Text Control .NET Server

Cancel Property

Property|Introduced in 19.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

Gets or sets a value indicating whether the current merge process should be canceled.

Syntax

public bool Cancel { get; set; }

Examples

The following example uses DataRowMergedEventArgs.Cancel to configure cancel as part of the data row merged event args workflow. The configured value is checked before the workflow continues.

dataRowMergedEventArgs.Cancel = true;
if (dataRowMergedEventArgs.Cancel)
{
    Console.WriteLine("Data Row Merged Event Args: Cancel is enabled.");
}