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

テキストコントロールで複数行表示するときに、必要に応じて自動的に折り返しを行うかどうかを示します。
構文
'宣言
 
Public Property WordWrap As Boolean
public bool WordWrap {get; set;}

プロパティ値

テキストを折り返す場合は True、テキストを切り詰める場合は False。デフォルトはTrue です。

使用例
private void detail_Format(object sender, System.EventArgs eArgs)
{
    this.TextBox1.CanGrow = true;
    this.TextBox1.CanShrink = false;
    this.TextBox1.MultiLine = true;
    this.TextBox1.WordWrap = true;
}
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format
   Me.TextBox1.CanGrow = True
   Me.TextBox1.CanShrink = False
   Me.TextBox1.MultiLine = True
   Me.TextBox1.WordWrap = True
End Sub
参照

関連項目

TextBox クラス
TextBox メンバ

 

 


©2003-2015 GrapeCity inc. All rights reserved.