Indicates whether the text of the checkbox will be wrapped to a new line when necessary.
Syntax
Visual Basic (Declaration) | |
---|
Public Property WordWrap As Boolean |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As CheckBox
Dim value As Boolean
instance.WordWrap = value
value = instance.WordWrap
|
C# | |
---|
public bool WordWrap {get; set;} |
Return Value
Boolean. Returns
True if the checkbox control wraps words;
False if the checkbox text will be clipped. The default value is
True.
Example
C# | Copy Code |
---|
private void detail_Format(object
sender, System.EventArgs eArgs)
{
this.checkBox1.WordWrap = true;
} |
Visual Basic | Copy Code |
---|
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format
Me.CheckBox1.WordWrap = True
End Sub |
See Also