Visual Basic (Declaration) | |
---|---|
Public Property BackColor As Color |
C# | |
---|---|
public Color BackColor {get; set;} |
C# | ![]() |
---|---|
private void detail_Format(object sender, System.EventArgs e) { this.reportInfo1.BackColor = Color.Coral; } |
Visual Basic | ![]() |
---|---|
Private Sub Detail1_Format(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Detail1.Format Me.ReportInfo1.BackColor = Color.Coral End Sub |