Value Property
- Namespace
TXTextControl.Web. MVC. DocumentViewer. Models
- Package
TXTextControl.asWeb. DocumentViewer TXTextControl.from nuget.org, the private NuGet feed or Text Control Offline PackagesWeb. MVC. DocumentViewer. dll
- Also in
TXTextControl.asWeb. DocumentViewer. Classic TXTextControl.Web. MVC. DocumentViewer. dll
Description
Gets or sets the form field value.
Syntax
public string Value { get; set; }Public Property Value As StringExamples
The following example configures CompletedFormField.Value and checks the resulting web document component setting before it is used.
completedFormField.Value = "Quarterly report";
if (!string.IsNullOrWhiteSpace(completedFormField.Value))
{
Console.WriteLine($"Value: {completedFormField.Value}");
}completedFormField.Value = "Quarterly report"
If Not String.IsNullOrWhiteSpace(completedFormField.Value) Then
Console.WriteLine($"Value: {completedFormField.Value}")
End If