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