Class
TextRange

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.SpellChecker.dll

Syntax:

cs-api-definition
public class TextRange

Inheritance: objectTextRange

Constructors

TextRange(int, int)

Declaration

cs-api-definition
public TextRange(int startPosition, int endPosition)

Parameters

startPosition

int

endPosition

int

Properties

EndPosition

Declaration

cs-api-definition
public int EndPosition { get; }

Property Value

int

StartPosition

Declaration

cs-api-definition
public int StartPosition { get; }

Property Value

int

Methods

AddToSelection(RadTextBox)

Adds the current text range to the selection ranges of the document.

Declaration

cs-api-definition
public void AddToSelection(RadTextBox radDocument)

Parameters

radDocument

RadTextBox

SetSelection(RadTextBox)

Sets the selection of the document to the current text range.

Declaration

cs-api-definition
public void SetSelection(RadTextBox radDocument)

Parameters

radDocument

RadTextBox