TX Text Control .NET for WPF

FieldValue 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 field's value of the field that has been specified in Expression1.

Syntax

public string FieldValue { get; set; }

Examples

The following example uses IfField.FieldValue to configure field value as part of the if field workflow. The configured value is checked before the workflow continues.

ifField.FieldValue = "Quarterly report";
if (!string.IsNullOrWhiteSpace(ifField.FieldValue))
{
    Console.WriteLine($"Field Value: {ifField.FieldValue}");
}