ListItems Property
- Namespace
TXTextControl.DocumentServer. Fields
- Package
TXTextControl.asTextControl. WinForms. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets or sets the list items of the combo box content control field.
Syntax
public List<ComboBoxListItem> ListItems { get; set; }Public Property ListItems As List(Of ComboBoxListItem)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.");
}comboBoxContentControl.ListItems = New List(Of TXTextControl.DocumentServer.Fields.ComboBoxListItem)()
If comboBoxContentControl.ListItems IsNot Nothing Then
Console.WriteLine("Combo Box Content Control: List Items is available.")
End If