Specifies whether a text field can be deleted by the end-user while a TX Text Control document is being edited. The default setting of this property is true.

Syntax

public bool Deleteable { get; set; }
Public Property Deleteable() As Boolean

Examples

The following example uses the 'TextField' class and sets its 'Deleteable' property to 'false' in order to prevent the deletion of the text field while the document is being edited.

TXTextControl.TextField field = new TXTextControl.TextField("Product");
   field.Name = "product";
   field.DoubledInputPosition = true;
   field.Deleteable = false;
   field.Editable = false;
   field.ShowActivated = true;
textControl1.TextFields.Add(field);
Dim field As TXTextControl.TextField = New TXTextControl.TextField("Product")
   field.Name = "product"
   field.DoubledInputPosition = true
   field.Deleteable = false
   field.Editable = false
   field.ShowActivated = true
TextControl1.TextFields.Add(field)

See Also

Text Fields and Hypertext Links - Editing Marked Text Fields.