New to Telerik UI for WinFormsStart a free 30-day trial

Represents a text object used by the spell checking and search mechanisms.

Definition

Namespace:Telerik.WinForms.Documents.TextSearch

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public class DocumentTextMap.TextItem

Inheritance: objectDocumentTextMap.TextItem

Constructors

Initializes a new instance of the DocumentTextMap.TextItem class.

C#
public TextItem(SpanLayoutBox spanBox)
Parameters:spanBoxSpanLayoutBox

The span box.

Properties

Gets the span box.

C#
public SpanLayoutBox SpanBox { get; }
Property Value:

The span box.

Gets or sets the result of the spell checking.

C#
public bool? SpellCheckResult { get; set; }
Property Value:

The spell check result.

Gets the text.

C#
public string Text { get; }
Property Value:

The text.

Methods

Appends the specified text.

C#
public void Append(string text)
Parameters:textstring

The text.