See Also

TextBox Class  | TextBox Members  | BackColor

Language

Visual Basic

C#

Show All

See Also Languages ActiveReports Send feedback to Data Dynamics

ForeColor Property

Gets or returns the foreground (font) color of the control.

[Visual Basic]
Public Property ForeColor As Color
[C#]
public Color ForeColor {get; set;}

Return Type

Current font color.  Default is Color.Black.

Example

[C#] 

private void Detail_Format(object sender, System.EventArgs eArgs) 

    this.TextBox1.BackColor = System.Drawing.Color.Transparent; 
    this.TextBox1.ForeColor = System.Drawing.Color.Black; 

[Visual Basic] 

Private Sub Detail_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail.Format
   Me.TextBox1.BackColor = System.Drawing.Color.Transparent
   Me.TextBox1.ForeColor = System.Drawing.Color.Black
End Sub

See Also

TextBox Class  | TextBox Members  | BackColor

 

 


Copyright © 2004-2005 Data Dynamics, Ltd. All rights reserved.