Gets or sets the starting position of the text selected in the text box.
Public Property SelectionStart As Integer
< TextBox SelectionStart = " int " />
System .Int32 The starting position of the current selection.
If there is no selection, the
value gets or sets the location of the cursor. SelectionStart
Setting this value changes the starting position of the selection box and raises a
event. The SelectionChanged remains the same. SelectionLength
The following code example shows how you can use the
Private Sub SelectionStart()
MyTB1.[ Select](3, 2)
'The starting position of the cursor is set to the fifth position. Note that the
'SelectionLength remains the same when the text is selected.
MyTB1.SelectionStart = 5
Supported in: 5, 4, 3
Silverlight for Windows Phone
Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0