ListItems Property
- Namespace
TXTextControl.DocumentServer. Fields
- Type
TXTextControl.DocumentServer. Fields. DropDownListContentControl
- Package
TXTextControl.asTextControl. Core. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline PackagesCore. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXDocumentServer.dll
Description
Gets or sets the list items of the content control field.
Syntax
public List<DropDownListItem> ListItems { get; set; }Public Property ListItems As List(Of DropDownListItem)Examples
The following example uses DropDownListContentControl.ListItems to configure list items as part of the drop down list content control workflow. The configured value is checked before the workflow continues.
dropDownListContentControl.ListItems = new List<TXTextControl.DocumentServer.Fields.DropDownListItem>();
if (dropDownListContentControl.ListItems != null)
{
Console.WriteLine("Drop Down List Content Control: List Items is available.");
}dropDownListContentControl.ListItems = New List(Of TXTextControl.DocumentServer.Fields.DropDownListItem)()
If dropDownListContentControl.ListItems IsNot Nothing Then
Console.WriteLine("Drop Down List Content Control: List Items is available.")
End If