Version

SelectionLength Property (XamComboEditor)

Gets or sets the length of the selected text. If nothing is selected then returns 0.
Syntax
'Declaration
 
Public Property SelectionLength As Integer
public int SelectionLength {get; set;}
Remarks

SelectionLength returns the length of the currently selected text. If nothing is currently selected then returns 0.

Setting this property will modify the text that's selected. It can be used to increase or decrease the amount of text that's currently selected. Setting it to 0 deselects the selected text. Note that setting this property does not modify the contents of the control.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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