[]
Gets or sets a value that indicates the currently selected text in the control.
[Browsable(false)]
public virtual string SelectedText { get; set; }
<Browsable(False)>
Public Overridable 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 inserts the new value in the Text property at the current caret position.