BackColor Property (TextBox)
Gets or sets the background color of the control area.
public Color BackColor {get; set;}
'Declaration
Public Property BackColor As Color
Property Value
System.Drawing.Color.
private void detail_Format(object sender, System.EventArgs eArgs)
{
this.textBox1.BackColor = System.Drawing.Color.Transparent;
this.textBox1.ForeColor = System.Drawing.Color.Black;
}
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format
Me.TextBox1.BackColor = System.Drawing.Color.Transparent
Me.TextBox1.ForeColor = System.Drawing.Color.Black
End Sub