TX Text Control .NET for WPF

CalcOnExit Property

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

Description

Gets or sets the CalcOnExit property of the field.

Syntax

public abstract bool CalcOnExit { get; set; }

Examples

The following example uses FormFieldAdapter.CalcOnExit to configure calc on exit as part of the form field adapter workflow. The configured value is checked before the workflow continues.

formFieldAdapter.CalcOnExit = true;
if (formFieldAdapter.CalcOnExit)
{
    Console.WriteLine("Form Field Adapter: Calc On Exit is enabled.");
}

Limitations

This property is not used by the DocumentServer.Web.DocumentViewer component.