Value Property
- Namespace
TXTextControl.DocumentServer. PDF. AcroForms
- Package
TXTextControl.asTextControl. WPF. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets or sets the selected value of a choice list.
Syntax
public string Value { get; set; }Public Property Value As StringExamples
The following example uses FormChoiceField.Value to configure value as part of the form choice field workflow. The configured value is checked before the workflow continues.
formChoiceField.Value = "Quarterly report";
if (!string.IsNullOrWhiteSpace(formChoiceField.Value))
{
Console.WriteLine($"Value: {formChoiceField.Value}");
}formChoiceField.Value = "Quarterly report"
If Not String.IsNullOrWhiteSpace(formChoiceField.Value) Then
Console.WriteLine($"Value: {formChoiceField.Value}")
End If