Gets or sets the current selected text in the control.
[Visual Basic]
Public Property SelectedText As String
[C#]
public string SelectedText {get; set;}
A string that represents the selected text in the control.
To set this property, first set the SelectionStart and SelectionLength properties.
[C#]
private void Detail_Format(object sender, System.EventArgs eArgs) |
[Visual Basic]
Private Sub Detail_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail.Format |
RichTextBox Class | RichTextBox Members | RTF | Text | SelectionStart Property | SelectionLength
Copyright © 2004-2005 Data Dynamics, Ltd. All rights reserved.