TX Text Control .NET for WPF

Cancel Property

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

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.");
}