ActiveReports 8
Border Property
See Also  Example
GrapeCity.ActiveReports.v8 Assembly > GrapeCity.ActiveReports.SectionReportModel Namespace > ARControl Class : Border Property

Glossary Item Box

Gets a border object that defines the border style for each edge of the control.

Syntax

Visual Basic (Declaration) 
Public Overridable ReadOnly Property Border As Border
C# 
public virtual Border Border {get;}

Property Value

Default border object.

Example

C#Copy Code
private void detail_Format(object sender, System.EventArgs eArgs)
{
    GrapeCity.ActiveReports.Border b = new GrapeCity.ActiveReports.Border();
    this.textBox1.Border.BottomStyle = BorderLineStyle.ThickDash;
    this.textBox1.Border.TopStyle = BorderLineStyle.ThickDash;
    b = this.textBox1.Border.Clone();
    this.textBox2.Border.BottomStyle = b.BottomStyle;
    this.textBox2.Border.TopStyle = b.TopStyle;
}
Visual BasicCopy Code
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format
    Dim b As New GrapeCity.ActiveReports.Border
    Me.TextBox1.Border.BottomStyle = BorderLineStyle.ThickDash
    Me.TextBox1.Border.TopStyle = BorderLineStyle.ThickDash
    b = Me.TextBox1.Border.Clone()
    Me.TextBox2.Border.BottomStyle = b.BottomStyle
    Me.TextBox2.Border.TopStyle = b.TopStyle
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