Version

SelectionLength Property

Returns or sets the number of characters selected in the TextEditorToolBase.
Syntax
'Declaration
 
Public Property SelectionLength As Integer
public int SelectionLength {get; set;}
Remarks

This property returns an integer value that indicates the length of the text selection (in characters). You can also use it to change the length of the selection. Used in combination with SelectionStart you can set the selection to any text that exists in the control.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also