Cancel Property
- Namespace
TXTextControl.DocumentServer
- Package
TXTextControl.asTextControl. WPF. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets or sets a value indicating whether the current merge process should be canceled.
Syntax
public bool Cancel { get; set; }Public Property Cancel() As BooleanExamples
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.");
}fieldMergedEventArgs.Cancel = True
If fieldMergedEventArgs.Cancel Then
Console.WriteLine("Field Merged Event Args: Cancel is enabled.")
End If