Spread Windows Forms 15.0
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / GcTextBox Class / WrapMode Property


In This Topic
    WrapMode Property (GcTextBox)
    In This Topic
    Gets or sets the wrap rule when the GcTextBox control is multiline.
    Syntax
    'Declaration
     
    
    Public Property WrapMode As WrapMode
    'Usage
     
    
    Dim instance As GcTextBox
    Dim value As WrapMode
     
    instance.WrapMode = value
     
    value = instance.WrapMode
    public WrapMode WrapMode {get; set;}

    Property Value

    A WrapMode enumeration that indicates the rule for wrapping the text.
    The default is WrapMode.WordWrap.
    Remarks
    The WrapMode property can take effect for text wrap behaviors. The WrapMode.WordWrap value means wrap the text by word. The WrapMode.CharWrap value means wrap the text by character. This property only takes effect when MultiLine is true.
    See Also