Deleteable Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesCore. dll
- Also in
TXTextControl.asTextControl. ASP. SDK 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; }Public Property Deleteable As BooleanExamples
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.");
}Dim documentTarget As New DocumentTarget("CustomerDetails")
textControl.DocumentTargets.Add(documentTarget)
documentTarget.Deleteable = True
If documentTarget.Deleteable Then
Console.WriteLine("Document Target: Deleteable is enabled.")
End If