PowerTools ActiveReports for .NET 9.0J
ForeColor プロパティ (RichTextBox)
使用例 

コントロールの前景色(フォント)を取得または設定します。
構文
'宣言
 
Public Property ForeColor As Color
public Color ForeColor {get; set;}

プロパティ値

現在のフォント色。デフォルトはColor.Blackです。

使用例
private void detail_Format(object sender, System.EventArgs eArgs) 
{ 
    this.rtbActiveReport.ForeColor = System.Drawing.Color.DarkGoldenrod; 
}
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format
    Me.rtbActiveReport.ForeColor = System.Drawing.Color.DarkGoldenrod
End Sub
参照

関連項目

RichTextBox クラス
RichTextBox メンバ
BackColor プロパティ

 

 


©2003-2015 GrapeCity inc. All rights reserved.