-api-id | -api-type |
---|---|
P:Windows.UI.Xaml.Controls.TextBox.SelectionLength |
winrt property |
Gets or sets the number of characters in the current selection in the text box.
<TextBox SelectionLength="int"/>
The number of characters in the current selection in the text box, or 0 if there is no selection.