ActiveReports.Viewer3 Request technical support
TopStyle Property
See Also  Example


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

Syntax

Visual Basic (Declaration) 
Public Property TopStyle As BorderLineStyle
Visual Basic (Usage)Copy Code
Dim instance As Border
Dim value As BorderLineStyle
 
instance.TopStyle = value
 
value = instance.TopStyle
C# 
public BorderLineStyle TopStyle {get; set;}

Example

C#Copy Code
private void Detail_Format(object sender, System.EventArgs eArgs)
{
   
this.TextBox1.Border.BottomStyle = BorderLineStyle.DashDot;
   
this.TextBox1.Border.LeftStyle = BorderLineStyle.DashDot;
   
this.TextBox1.Border.RightStyle = BorderLineStyle.DashDot;
   
this.TextBox1.Border.TopStyle = BorderLineStyle.DashDot;
}
Visual BasicCopy Code
Private Sub Detail_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail.Format
   Me.TextBox1.Border.BottomStyle = BorderLineStyle.DashDot
   Me.TextBox1.Border.LeftStyle = BorderLineStyle.DashDot
   Me.TextBox1.Border.RightStyle = BorderLineStyle.DashDot
   Me.TextBox1.Border.TopStyle = BorderLineStyle.DashDot
End Sub

See Also