TX Text Control .NET for WPF

ContentDeletable 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 deletable or not.

Syntax

public bool ContentDeletable { get; set; }

Examples

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

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