[]
Gets or sets a value indicating the currently selected text in the control.
public string SelectedText { get; set; }
Public Property SelectedText As String
Type | Description |
---|---|
string | A string that represents the currently selected text in the control.
|
You can assign text to this property to change the text currently selected in the control. If no text is currently selected in the control, this property will insert the new value to the Text property at the current caret position.