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

Glossary Item Box

Gets or sets the line color of the top edge of the border.

Syntax

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

Example

C#Copy Code
private void Detail_Format(object sender, System.EventArgs eArgs)
{
    this.TextBox1.Border.BottomColor = System.Drawing.Color.Blue;
    this.TextBox1.Border.LeftColor = System.Drawing.Color.Blue;
    this.TextBox1.Border.RightColor = System.Drawing.Color.Blue;
    this.TextBox1.Border.TopColor = System.Drawing.Color.Blue;
}
Visual BasicCopy Code
Private Sub Detail_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail.Format
   Me.TextBox1.Border.BottomColor = System.Drawing.Color.Blue
   Me.TextBox1.Border.LeftColor = System.Drawing.Color.Blue
   Me.TextBox1.Border.RightColor = System.Drawing.Color.Blue
   Me.TextBox1.Border.TopColor = System.Drawing.Color.Blue
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