SubTextParts TX Text Control .NET for Windows Forms
TXTextControl Namespace
SubTextPart Class
A SubTextPart object represents a user-defined part of a TX Text Control document.
were introduced in version X13 (23.0) as a new document element to realize the new MailMerge merge block concept. But this feature can be used for many other tasks as well.

In general, a SubTextPart TX Text Control .NET for Windows Forms
TXTextControl Namespace
SubTextPart Class
A SubTextPart object represents a user-defined part of a TX Text Control document.
is a defined range of text with a Start TX Text Control .NET for Windows Forms
TXTextControl Namespace
SubTextPart Class
Start Property
Gets the index (one-based) of the first character which belongs to the subtextpart.
, a Length TX Text Control .NET for Windows Forms
TXTextControl Namespace
SubTextPart Class
Length Property
Gets the number of characters which belong to the subtextpart.
and a Name TX Text Control .NET for Windows Forms
TXTextControl Namespace
SubTextPart Class
Name Property
Gets or sets the name of the subtextpart.
. This name can be used to tag a SubTextPart TX Text Control .NET for Windows Forms
TXTextControl Namespace
SubTextPart Class
A SubTextPart object represents a user-defined part of a TX Text Control document.
to be protected. If the user enters this SubTextPart TX Text Control .NET for Windows Forms
TXTextControl Namespace
SubTextPart Class
A SubTextPart object represents a user-defined part of a TX Text Control document.
, the editMode TX Text Control .NET for Windows Forms
TXTextControl Namespace
TextControl Class
EditMode Property
Gets or sets a value indicating whether the document's text is protected, or can be freely edited and formatted.
can be used to set TextControl to read only.

Version X14 (24.0) implements new events for the HTML5-based TXTextControl.Web TX Text Control .NET Server for ASP.NET
Web Namespace
TXTextControl.Web Namespace
: subTextPartEntered TX Text Control .NET for Windows Forms
TXTextControl Namespace
TextControl Class
SubTextPartEntered Event
Occurs when the current input position has been moved to a position that belongs to a subtextpart.
and subTextPartLeft TX Text Control .NET for Windows Forms
TXTextControl Namespace
TextControl Class
SubTextPartLeft Event
Occurs when the current input position has left a subtextpart.
. Both events return the event argument SubTextPartEventArgs TX Text Control .NET for Windows Forms
TXTextControl Namespace
SubTextPartEventArgs Class
The SubTextPartEventArgs class provides data for the SubTextPartClicked, SubTextPartCreated, SubTextPartDeleted, SubTextPartDoubleClicked, SubTextPartEntered and SubTextPartLeft events.
object.

On leaving the SubTextPart TX Text Control .NET Server for ASP.NET
TXTextControl Namespace
SubTextPart Class
A SubTextPart object represents a user-defined part of a TX Text Control document.
, the subTextPartLeft TX Text Control .NET Server for ASP.NET
ServerVisualization Namespace
TextViewGenerator Class
SubTextPartLeft Event
Occurs when the current input position has left a subtextpart.
is used to switch back to edit mode.

The following JavaScript code shows this easy implementation:

Loading...