RichTextContentControl Class
- Namespace
TXTextControl.DocumentServer. Fields
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WPF. SDK
- Assembly
TXDocumentServer.dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WPF. SDK TXDocumentServer.from the setup.dll
- Inherits
- Field
Adapter - Content
Control Field Adapter - Rich
Text Content Control
- Field
Description
The RichTextContentControl implements the MS Word specific plain text content control field. This field must be used in combination with an ApplicationField that should be modified using this adapter.
Syntax
public class RichTextContentControl : ContentControlFieldAdapterPublic Class RichTextContentControl
Inherits ContentControlFieldAdapterExamples
The following example creates a Rich Text Content Control instance and configures its text setting for a document workflow.
TXTextControl.DocumentServer.Fields.RichTextContentControl richTextContentControl = new();
richTextContentControl.Text = "Quarterly results";Dim richTextContentControl As New TXTextControl.DocumentServer.Fields.RichTextContentControl()
richTextContentControl.Text = "Quarterly results"Members
Constructors
| Constructor | Description |
|---|---|
| ContentControlFieldAdapter | Initializes a new instance of the ContentControlFieldAdapter class. (Inherited from ContentControlFieldAdapter.) |
| RichTextContentControl | Initializes a new instance of the RichTextContentControl class. |
Properties
| Property | Description |
|---|---|
| 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.) |
| Text | Gets or sets the text of the content control field. |
| 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.) |