SelectedText Property (XamComboEditor)

Gets or sets the selected text.
Public Property SelectedText As String
public string SelectedText {get; set;}

SelectedText property returns the currently selected text if any. If nothing is selected then returns empty string.

Setting this property replaces the current selected text with the set value. If nothing is selected and the property is set, the set value is inserted at the location of the caret. Note that setting this property will modify the contents of the control.


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