TX Text Control .NET for Windows Forms

CheckBoxContentControl Class

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

Description

The CheckBoxContentControl implements the MS Word specific check box content control field. This field must be used in combination with an ApplicationField that should be modified using this adapter.

Syntax

public class CheckBoxContentControl : ContentControlFieldAdapter

Examples

The following example creates a Check Box Content Control instance and configures its checked setting for a document workflow.

TXTextControl.DocumentServer.Fields.CheckBoxContentControl checkBoxContentControl = new();
checkBoxContentControl.Checked = true;

Members

Constructors

ConstructorDescription
CheckBoxContentControlInitializes a new instance of the CheckBoxContentControl class.
ContentControlFieldAdapterInitializes a new instance of the ContentControlFieldAdapter class. (Inherited from ContentControlFieldAdapter.)

Properties

PropertyDescription
CheckedSpecifies whether the field is checked or not.
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.)
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.)