ActiveReports 8
Color Property
See Also  Example
GrapeCity.ActiveReports.Document.v8 Assembly > GrapeCity.ActiveReports Namespace > Border Class : Color Property

Glossary Item Box

Sets or returns the color of a control's border.

Syntax

Visual Basic (Declaration) 
Public Property Color As Color
C# 
public Color Color {get; set;}

Property Value

System.Drawing.Color.

Example

C#Copy Code
Private void GroupHeader1_Format(object sender, System.EventArgs eArgs)
{
    this.txtShipCountry.Border.Color = System.Drawing.Color.Purple;
}
Visual BasicCopy Code
Private Sub GroupHeader1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles GroupHeader1.Format
    Me.txtShipCountry.Border.Color = System.Drawing.Color.Purple
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