Text Property (RichTextBox)
Gets or sets the current text in the RichTextBox.
public string Text {get; set;}
'Declaration
Public Property Text As String
Property Value
The text displayed in the control.
private void detail_Format(object sender, System.EventArgs eArgs)
{
this.rtbActiveReport.Text = "Confidential";
}
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format
Me.rtbActiveReport.Text = "Confidential"
End Sub