Gets or sets whether to automatically wrap text without line breaks.
Syntax
Visual Basic (Declaration) | |
---|
Public Overridable Property TextWrap As Boolean |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As ElementControl
Dim value As Boolean
instance.TextWrap = value
value = instance.TextWrap |
C# | |
---|
public virtual bool TextWrap {get; set;} |
Property Value
Boolean value:
true to wrap text automatically;
false otherwise
Remarks
Example
This example shows the setting to allow text wrapping.
C# | Copy Code |
---|
element.TextWrap = true;
|
Visual Basic | Copy Code |
---|
element.TextWrap = True;
|
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also