ActiveReports 9
BackColor Property (Label)
Example 

Gets or sets the background color of the control area.
Syntax
'Declaration
 
Public Property BackColor As Color
public Color BackColor {get; set;}

Property Value

System.Drawing.Color.  The default value is Color.Transparent.
Example
private void detail_Format(object sender, System.EventArgs eArgs)
{
    this.label1.BackColor = System.Drawing.Color.BlanchedAlmond;
}
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format
   Me.Label1.BackColor = System.Drawing.Color.BlanchedAlmond
End Sub
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Label Class
Label Members
ActiveReports6~GrapeCity.ActiveReports.Label~ForeColor

 

 


Copyright © 2014 GrapeCity, inc. All rights reserved

Support Forum