| Visual Basic (Declaration) | |
|---|---|
Public Property ForeColor As Color | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public Color ForeColor {get; set;} | |
Return Value
System.Drawing.Color| C# | Copy Code |
|---|---|
private void detail_Format(object
sender, System.EventArgs eArgs) | |
| Visual Basic | Copy Code |
|---|---|
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format | |
This property sets the color for both the text and the checkbox in the control.