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

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.SpellChecker.dll

Syntax:

C#
public class TextRange

Inheritance: objectTextRange

Constructors

C#
public TextRange(int startPosition, int endPosition)
Parameters:startPositionintendPositionint

Properties

C#
public int EndPosition { get; }
C#
public int StartPosition { get; }

Methods

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

C#
public void AddToSelection(RadTextBox radDocument)
Parameters:radDocumentRadTextBox

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

C#
public void SetSelection(RadTextBox radDocument)
Parameters:radDocumentRadTextBox