ActiveReports 9
TopColor Property
Example 

Gets or sets the line color of the top edge of the border.
Syntax
'Declaration
 
Public Property TopColor As Color
public Color TopColor {get; set;}
Example
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

Reference

Border Class
Border Members

 

 


Copyright © 2016 GrapeCity, inc. All rights reserved

Support Forum