CheckBoxContentControl Class
- Namespace
TXTextControl.DocumentServer. Fields
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WinForms. SDK
- Assembly
TXDocumentServer.dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WinForms. SDK TXDocumentServer.from the setup.dll
- Inherits
- Field
Adapter - Content
Control Field Adapter - Check
Box Content Control
- Field
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 : ContentControlFieldAdapterPublic Class CheckBoxContentControl
Inherits ContentControlFieldAdapterExamples
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;Dim checkBoxContentControl As New TXTextControl.DocumentServer.Fields.CheckBoxContentControl()
checkBoxContentControl.Checked = TrueMembers
Constructors
| Constructor | Description |
|---|---|
| CheckBoxContentControl | Initializes a new instance of the CheckBoxContentControl class. |
| ContentControlFieldAdapter | Initializes a new instance of the ContentControlFieldAdapter class. (Inherited from ContentControlFieldAdapter.) |
Properties
| Property | Description |
|---|---|
| Checked | Specifies whether the field is checked or not. |
| ContentDeletable | Specifies whether the content of the content control field should be deletable or not. (Inherited from ContentControlFieldAdapter.) |
| ContentEditable | Specifies whether the content of the content control field should be editable or not. (Inherited from ContentControlFieldAdapter.) |
| Id | Gets or sets the content control's id. (Inherited from ContentControlFieldAdapter.) |
| Placeholder | Gets or sets the placeholder field part of the content control field. (Inherited from ContentControlFieldAdapter.) |
| Tag | Gets or sets the content control's tag. (Inherited from ContentControlFieldAdapter.) |
| Title | Gets or sets the content control's title. (Inherited from ContentControlFieldAdapter.) |
| Type | Gets or sets the type of the content control field. (Inherited from ContentControlFieldAdapter.) |