ActiveReports 14 .NET Edition
GrapeCity.ActiveReports.Document Assembly / GrapeCity.ActiveReports Namespace / Border Class / TopColor Property

In This Topic
    TopColor Property
    In This Topic
    Gets or sets the line color of the top edge of the border.
    Public Property TopColor As Color
    public Color TopColor {get; set;}
    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;
    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
    See Also