See Also

CheckBox Class  | CheckBox Members

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

System.Drawing.Color

Remarks

This property sets the color for both the text and the checkbox in the control.

Example

[C#] 

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

    this.CheckBox1.ForeColor = System.Drawing.Color.Navy; 

[Visual Basic] 

Private Sub Detail_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail.Format
   Me.CheckBox1.ForeColor = System.Drawing.Color.Navy
End Sub

See Also

CheckBox Class  | CheckBox Members

 

 


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