New to Telerik UI for .NET MAUIStart a free 30-day trial

Represents a selection in the RadRichTextEditor.

Definition

Namespace:Telerik.Maui.Controls.RichTextEditor

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public class RichTextSelection

Inheritance: objectRichTextSelection

Constructors

Initializes a new instance of the RichTextSelection class.

C#
public RichTextSelection(int start, int end, string text)
Parameters:startint

Specifies the start character position of the selection.

endint

Specifies the end character position of the selection.

textstring

Specifies the underlying plain text of the selection.

Properties

Gets the end character position of the selection.

C#
public int End { get; }

Gets the start character position of the selection.

C#
public int Start { get; }

Gets the underlying plain text of the selection.

C#
public string Text { get; }