FormField Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets the FormField whose property value is to be compared with the condition's comparison value.
Syntax
public FormField FormField { get; }Public ReadOnly Property FormField As FormFieldExamples
The following example builds a rule around an approval check box in a fillable form by using Condition.FormField.
CheckFormField approvalField = new(false) { Name = "Approved" };
textControl.FormFields.Add(approvalField);
Condition condition = new(approvalField, true);
Console.WriteLine($"Form Field: {condition.FormField}");
Console.WriteLine("Condition is ready for use.");Dim approvalField As New CheckFormField(False) With { .Name = "Approved" }
textControl.FormFields.Add(approvalField)
Dim condition As New Condition(approvalField, True)
Console.WriteLine($"Form Field: {condition.FormField}")
Console.WriteLine("Condition is ready for use.")Limitations
Read only.
Remarks
The value represents the constructor's formField parameter value. It has to be part of the document when the ConditionalInstruction instance that is related to this Condtition object is added to the FormFieldCollection.ConditionalInstructions collection.