TX Text Control .NET Server

Deleteable Property

Property
Namespace
TXTextControl
Package
TXTextControl.TextControl.Core.SDK as TXTextControl.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.dll

Description

Specifies whether the target can be deleted by the end-user while the document is being edited. The default setting of this property is true.

Syntax

public bool Deleteable { get; set; }

Examples

The following example creates a named destination for an internal document link by using DocumentTarget.Deleteable.

DocumentTarget documentTarget = new("CustomerDetails");
textControl.DocumentTargets.Add(documentTarget);

documentTarget.Deleteable = true;
if (documentTarget.Deleteable)
{
    Console.WriteLine("Document Target: Deleteable is enabled.");
}