TX Text Control .NET Server

ListEntries Property

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

Description

Gets and sets the list entries of the drop down field.

Syntax

public IEnumerable<string> ListEntries { get; set; }

Examples

The following example uses FormDropDown.ListEntries to configure list entries as part of the form drop down workflow. The configured value is checked before the workflow continues.

formDropDown.ListEntries = Array.Empty<string>();
if (formDropDown.ListEntries != null)
{
    Console.WriteLine("Form Drop Down: List Entries is available.");
}