PowerTools ActiveReports for .NET 9.0J
TopColor プロパティ
使用例 

上罫線の色を取得または設定します。
構文
'宣言
 
Public Property TopColor As Color
public Color TopColor {get; set;}
使用例
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
参照

関連項目

Border クラス
Border メンバ

 

 


©2003-2015 GrapeCity inc. All rights reserved.