SelectionLength

Silverlight

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

<TextBox SelectionLength="int" .../>
value = object.SelectionLength
object.SelectionLength = value

Type: int

The number of characters in the current selection, or 0 if there is no selection.

This property is read/write. The default is 0.

Silverlight 2

Community Additions

ADD
Show: