ActiveReports Developer 7
Border Class
Members  Example  See Also 
GrapeCity.ActiveReports.Document.v7 Assembly > GrapeCity.ActiveReports Namespace : Border Class

Glossary Item Box

Paints a border around the control area.

Object Model

Border Class

Syntax

Visual Basic (Declaration) 
Public Class Border 
C# 
public class Border 

Remarks

Borders are painted outside the control area.

Example

C#Copy Code
private void Detail_Format(object sender, System.EventArgs eArgs)
{
    this.TextBox1.Border.BottomColor = System.Drawing.Color.Blue;
    this.TextBox1.Border.BottomStyle = BorderLineStyle.DashDot;
    this.TextBox1.Border.LeftColor = System.Drawing.Color.Blue;
    this.TextBox1.Border.LeftStyle = BorderLineStyle.DashDot;
    this.TextBox1.Border.RightColor = System.Drawing.Color.Blue;
    this.TextBox1.Border.RightStyle = BorderLineStyle.DashDot;
    this.TextBox1.Border.TopColor = System.Drawing.Color.Blue;
    this.TextBox1.Border.TopStyle = BorderLineStyle.DashDot;
    this.TextBox1.Border.Shadow = true;
}
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.BottomStyle = BorderLineStyle.DashDot
   Me.TextBox1.Border.LeftColor = System.Drawing.Color.Blue
   Me.TextBox1.Border.LeftStyle = BorderLineStyle.DashDot
   Me.TextBox1.Border.RightColor = System.Drawing.Color.Blue
   Me.TextBox1.Border.RightStyle = BorderLineStyle.DashDot
   Me.TextBox1.Border.TopColor = System.Drawing.Color.Blue
   Me.TextBox1.Border.TopStyle = BorderLineStyle.DashDot
   Me.TextBox1.Border.Shadow = True
End Sub

Inheritance Hierarchy

System.Object
   GrapeCity.ActiveReports.Border

See Also