TX Text Control .NET for WPF

ContentEditable Property

Property|Introduced in 21.0
Namespace
TXTextControl.DocumentServer.Fields
Package
TXTextControl.TextControl.WPF.SDK as TXDocumentServer.dll from the private NuGet feed or Text Control Offline Packages

Description

Specifies whether the content of the content control field should be editable or not.

Syntax

public bool ContentEditable { get; set; }

Examples

The following example uses ContentControlFieldAdapter.ContentEditable to configure content editable as part of the content control field adapter workflow. The configured value is checked before the workflow continues.

contentControlFieldAdapter.ContentEditable = true;
if (contentControlFieldAdapter.ContentEditable)
{
    Console.WriteLine("Content Control Field Adapter: Content Editable is enabled.");
}