-api-id | -api-type |
---|---|
P:Windows.UI.Xaml.Controls.TextBox.SelectionStart |
winrt property |
Gets or sets the starting position of the text selected in the text box. When the SelectionLength is 0 (there is no selected text), the SelectionStart property corresponds to the cursor position.
<TextBox SelectionStart="int"/>
The starting position of the current selection or the current cursor position.