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

Namespace:  C1.Silverlight.RichTextBox
Assembly:  C1.Silverlight.RichTextBox (in C1.Silverlight.RichTextBox.dll)

Syntax

C#
public int SelectionLength { get; set; }
Visual Basic
Public Property SelectionLength As Integer
	Get
	Set

Remarks

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

See Also