TX Text Control .NET Server

DropDownListContentControl Class

Class|Introduced in 21.0
Namespace
TXTextControl.DocumentServer.Fields
Package
TXTextControl.TextControl.Core.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXDocumentServer.Core.dll
Install
dotnet add package TXTextControl.TextControl.Core.SDK .NET 8 and later. For .NET Framework, reference TXDocumentServer.dll from the setup.
Also in
TXTextControl.TextControl.ASP.SDK as TXDocumentServer.dll
Inherits
  1. FieldAdapter
  2. ContentControlFieldAdapter
  3. DropDownListContentControl

Description

The DropDownListContentControl implements the MS Word specific drop down list content control field. This field must be used in combination with an ApplicationField that should be modified using this adapter.

Syntax

public class DropDownListContentControl : ContentControlFieldAdapter

Examples

The following example creates a Drop Down List Content Control instance and configures its title setting for a document workflow.

TXTextControl.DocumentServer.Fields.DropDownListContentControl dropDownListContentControl = new();
dropDownListContentControl.Title = "Quarterly report";

Members

Constructors

ConstructorDescription
ContentControlFieldAdapterInitializes a new instance of the ContentControlFieldAdapter class. (Inherited from ContentControlFieldAdapter.)
DropDownListContentControlInitializes a new instance of the DropDownListContentControl class.

Properties

PropertyDescription
ContentDeletableSpecifies whether the content of the content control field should be deletable or not. (Inherited from ContentControlFieldAdapter.)
ContentEditableSpecifies whether the content of the content control field should be editable or not. (Inherited from ContentControlFieldAdapter.)
IdGets or sets the content control's id. (Inherited from ContentControlFieldAdapter.)
ListItemsGets or sets the list items of the content control field.
PlaceholderGets or sets the placeholder field part of the content control field. (Inherited from ContentControlFieldAdapter.)
TagGets or sets the content control's tag. (Inherited from ContentControlFieldAdapter.)
TitleGets or sets the content control's title. (Inherited from ContentControlFieldAdapter.)
TypeGets or sets the type of the content control field. (Inherited from ContentControlFieldAdapter.)