See Also

TextBox Class  | TextBox Members

Language

Visual Basic

C#

Show All

See Also Languages ActiveReports Send feedback to Data Dynamics

WordWrap Property

Indicates whether a multi-line text control automatically wraps words to the beginning of the next line when necessary.

[Visual Basic]
Public Property WordWrap As Boolean
[C#]
public bool WordWrap {get; set;}

Return Type

Boolean. True if the text control wraps words; False, if the text will be clipped.  The default is True.

Example

[C#] 

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; 
}

[Visual Basic] 

Private Sub Detail_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail.Format
   Me.TextBox1.CanGrow = True
   Me.TextBox1.CanShrink = False
   Me.TextBox1.MultiLine = True
   Me.TextBox1.WordWrap = True
End Sub

See Also

TextBox Class  | TextBox Members

 

 


Copyright © 2004-2005 Data Dynamics, Ltd. All rights reserved.