TX Text Control .NET Server

ListItems Property

Property|Introduced in 21.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 or sets the list items of the combo box content control field.

Syntax

public List<ComboBoxListItem> ListItems { get; set; }

Examples

The following example uses ComboBoxContentControl.ListItems to configure list items as part of the combo box content control workflow. The configured value is checked before the workflow continues.

comboBoxContentControl.ListItems = new List<TXTextControl.DocumentServer.Fields.ComboBoxListItem>();
if (comboBoxContentControl.ListItems != null)
{
    Console.WriteLine("Combo Box Content Control: List Items is available.");
}