TX Text Control .NET for Windows Forms

Cancel Property

Property|Introduced in 15.0
Namespace
TXTextControl.DocumentServer
Package
TXTextControl.TextControl.WinForms.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 FieldMergedEventArgs.Cancel to configure cancel as part of the field merged event args workflow. The configured value is checked before the workflow continues.

fieldMergedEventArgs.Cancel = true;
if (fieldMergedEventArgs.Cancel)
{
    Console.WriteLine("Field Merged Event Args: Cancel is enabled.");
}