See Also

ARControl Class  | ARControl Members

Language

Visual Basic

C#

Show All

See Also Languages ActiveReports Send feedback to Data Dynamics

Border Property

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

[Visual Basic]
Public ReadOnly Property Border As Border
[C#]
public Border Border {get;}

Return Type

Default border object.

Example

[C#] 

private void Detail_Format(object sender, System.EventArgs eArgs) 

    DataDynamics.ActiveReports.Border b = new DataDynamics.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 Basic] 

Private Sub Detail_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail.Format
    Dim b As New DataDynamics.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

See Also

ARControl Class  | ARControl Members

 

 


Copyright © 2004-2005 Data Dynamics, Ltd. All rights reserved.