Gets or sets the number of characters in the current selection in the rich text box.

Namespace:  C1.Phone.RichTextBox
Assembly:  C1.Phone.RichTextBox (in C1.Phone.RichTextBox.dll)
XMLNS for XAML: Not mapped to an xmlns.

Syntax

C#
public int SelectionLength { get; set; }
Visual Basic
Public Property SelectionLength As Integer
	Get
	Set
XAML Attribute Usage
<object SelectionLength="int" .../>

Remarks

The positions represented in this property correspond to positions in the Text property's content.

See Also