An EditableRegion object represents an editable region in a TX Text Control document. When the EditMode property of a Text Control has been set to ReadAndSelect, editable regions can still be edited, either by everyone or depending on the UserName property by a certain user. Each of the main textparts of a document has an EditableRegionCollection which can be used to add and remove editable regions or to save the editable region's text.

Syntax

public class EditableRegion
Public Class EditableRegion

Introduced: X15.

Constructors

Constructor Description
EditableRegion Initializes a new instance of the EditableRegion class.

Methods

Method Description
Save Saves the editable region's text with the specified format.
ScrollTo Sets the current input position to the beginning of an editable region and scrolls it into the visible part of the document.

Properties

Property Description
DefaultHighlightColor Gets the default highlight color of an editable region.
HighlightColor Gets or sets the highlight color for the editable region.
HighlightMode Gets or sets a value indicating when the editable region is highlighted.
ID Gets or sets the editable region's identifier.
Length Gets the number of characters which belong to the editable region.
Number Gets the editable region's number.
Start Gets the index (one-based) of the first character which belongs to the editable region.
Text Gets the editable region's text.
UserName Gets or sets the name of the user who can edit the region.